Re: [xml] xmlParseDTD breaks now

Date view Thread view Subject view Author view

From: Wayne Davison (wayned@users.sourceforge.net)
Date: Tue Sep 26 2000 - 17:59:29 EDT


On Tue, 26 Sep 2000, Daniel Veillard wrote:
> But I dislike the fact that the URI (and the base in the previous case)
> are not parsed to check that their content is a valid URI ...

How about this change (instead of your suggested one)?

Index: uri.c
@@ -1398,6 +1398,10 @@
         if (ret != 0)
             goto done;
     }
+ if (base == NULL) {
+ val = xmlSaveUri(ref);
+ goto done;
+ }
     bas = xmlCreateURI();
     if (bas == NULL)
         goto done;

..wayne..

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Sep 26 2000 - 18:43:46 EDT