mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-22 22:03:34 +03:00
fixed xmlCopyDoc to also copy the doc->URL as pointed by Martijn Faassen
* tree.c: fixed xmlCopyDoc to also copy the doc->URL as pointed by Martijn Faassen Daniel
This commit is contained in:
parent
e8a550b392
commit
f59507d428
@ -1,3 +1,8 @@
|
||||
Thu Jan 27 18:23:50 CET 2005 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* tree.c: fixed xmlCopyDoc to also copy the doc->URL as pointed
|
||||
by Martijn Faassen
|
||||
|
||||
Thu Jan 27 13:39:04 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
* xmlschemas.c include/libxml/schemasInternals.h:
|
||||
Added an initial skeleton for indentity-constraints. This is all
|
||||
|
2
tree.c
2
tree.c
@ -4164,6 +4164,8 @@ xmlCopyDoc(xmlDocPtr doc, int recursive) {
|
||||
ret->name = xmlMemStrdup(doc->name);
|
||||
if (doc->encoding != NULL)
|
||||
ret->encoding = xmlStrdup(doc->encoding);
|
||||
if (doc->URL != NULL)
|
||||
ret->URL = xmlStrdup(doc->URL);
|
||||
ret->charset = doc->charset;
|
||||
ret->compression = doc->compression;
|
||||
ret->standalone = doc->standalone;
|
||||
|
Loading…
x
Reference in New Issue
Block a user