Re: [xml] Re: Sax and Dtd's



On Sun, Nov 23, 2003 at 02:02:50PM +0100, Thomas Rokohl wrote:
my path-change-function looks like this:

xmlParserInputPtr xmlMyExternalEntityLoader(const char *URL, const char
[...]

ok it works with the dom parser, but if i use it with the xmltextreader i
get:

./dtd/xyz.dtd:3: I/O error : failed to load external entity "(null)"
...

?! so what's the difference?!

  No idea, it should work alike for both. all the loading goes through the
xmlIO routine.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]