OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

A question in Apache SAX parser

I am curious about why Apache SAX parser does not resolve correctly
partial path in referring to an external DTD, whereas DOM parser does.
For instance, when I referred to external DTD like:
<!DOCTYPE BOOK SYSTEM "book4.dtd" >
the Apache DOM parser understand it as book4.dtd locates in the same directory
as the XML file. But the SAX parsar assumes that the XML files is in the
working directory. Is there anybody who knows the difference?
Thanks in advance.