aboutsummaryrefslogtreecommitdiffstats
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-01-26 21:42:58 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-01-26 21:42:58 +0000
commit8ee9c8f6c4ac1d1865cd5fcdc02e59a0c8de2d8a (patch)
tree90e819b069392d047a18c459e7bfb988a3f0ae04 /entities.c
parenta42f25f939a92818e689cbf15ec806c8363cd65f (diff)
downloadandroid_external_libxml2-8ee9c8f6c4ac1d1865cd5fcdc02e59a0c8de2d8a.tar.gz
android_external_libxml2-8ee9c8f6c4ac1d1865cd5fcdc02e59a0c8de2d8a.tar.bz2
android_external_libxml2-8ee9c8f6c4ac1d1865cd5fcdc02e59a0c8de2d8a.zip
applied patch from Anthony Jones to implement copy of DTD subtree too. Had
* entities.c tree.c include/libxml/entities.h: applied patch from Anthony Jones to implement copy of DTD subtree too. Had just to keep 2 function private which really ought to become public ones. Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/entities.c b/entities.c
index 9d5937a7..af65a38c 100644
--- a/entities.c
+++ b/entities.c
@@ -883,6 +883,8 @@ xmlCopyEntity(xmlEntityPtr ent) {
cur->content = xmlStrdup(ent->content);
if (ent->orig != NULL)
cur->orig = xmlStrdup(ent->orig);
+ if (ent->URI != NULL)
+ cur->URI = xmlStrdup(ent->URI);
return(cur);
}