Changeset 21077 for lang/cplusplus
- Timestamp:
- 10/10/08 15:26:28 (8 weeks ago)
- Location:
- lang/cplusplus/llv8call/trunk
- Files:
-
- 2 modified
-
ext/libxml/document.cc (modified) (2 diffs)
-
t/070_libxml/02_dom.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/ext/libxml/document.cc
r21069 r21077 105 105 xmlNodePtr node_raw = xmlNewNode(NULL, (const xmlChar*)*elname); 106 106 assert(node_raw); 107 xmlAddChild(fragment, node_raw);108 107 return createObject( "Element", doc, node_raw ); 109 108 END … … 117 116 xmlNodePtr node_raw = xmlNewCDataBlock(doc, (const xmlChar*)*elname, elname.length()); 118 117 assert(node_raw); 119 xmlAddChild(fragment, node_raw);120 118 return createObject( "CDATASection", doc, node_raw ); 121 119 END -
lang/cplusplus/llv8call/trunk/t/070_libxml/02_dom.js
r21069 r21077 96 96 is(root.toString(), '<foo><bar><eee/></bar></foo>', 'node.parentNode()'); 97 97 is(eee.parentNode().nodeName(), 'bar', 'node.parentNode()'); 98 is(doc.createElement("emem").parentNode() .parentNode(), undefined, 'node.parentNode()');98 is(doc.createElement("emem").parentNode(), undefined, 'node.parentNode()'); 99 99 }); 100 100
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)