mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
try to make the copy function work for node of type
* tree.c: try to make the copy function work for node of type XML_DOCUMENT_FRAG_NODE, they are only created by the DOM layers though, not libxml2 itself. Daniel
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Thu Sep 5 13:10:57 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* tree.c: try to make the copy function work for node of
|
||||
type XML_DOCUMENT_FRAG_NODE, they are only created by the
|
||||
DOM layers though, not libxml2 itself.
|
||||
|
||||
Thu Sep 5 12:57:38 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* valid.c: try to provide file and line informations, not all
|
||||
|
2
tree.c
2
tree.c
@ -3046,6 +3046,7 @@ xmlStaticCopyNode(const xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent,
|
||||
case XML_TEXT_NODE:
|
||||
case XML_CDATA_SECTION_NODE:
|
||||
case XML_ELEMENT_NODE:
|
||||
case XML_DOCUMENT_FRAG_NODE:
|
||||
case XML_ENTITY_REF_NODE:
|
||||
case XML_ENTITY_NODE:
|
||||
case XML_PI_NODE:
|
||||
@ -3065,7 +3066,6 @@ xmlStaticCopyNode(const xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent,
|
||||
#endif
|
||||
return((xmlNodePtr) xmlCopyDoc((xmlDocPtr) node, recursive));
|
||||
case XML_DOCUMENT_TYPE_NODE:
|
||||
case XML_DOCUMENT_FRAG_NODE:
|
||||
case XML_NOTATION_NODE:
|
||||
case XML_DTD_NODE:
|
||||
case XML_ELEMENT_DECL:
|
||||
|
Reference in New Issue
Block a user