Commit f59507d4 authored by Daniel Veillard's avatar Daniel Veillard

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
parent e8a550b3
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
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment