Re: Non-validating parser behavior
Simon St.Laurent (simonstl@simonstl.com)
Tue, 01 Dec 1998 10:04:23 -0500
At 09:21 AM 12/1/98 -0500, Clark Cooper wrote:
>
>Simon St.Laurent (simonstl@simonstl.com) wrote:
>> Are there any non-validating parsers that actually behave this way?
Lark and
>> Aelfred have both fetched external DTD subsets without a question, and I
>> haven't noticed anything to suggest otherwise in the non-validating parsers
>> I've looked at so far.
>
>Then you've not looked at any of the parsers built on James Clark's
>expat library, for example the perl module XML::Parser. Expat does not
>read an external DTD.
Well, actually, I knew there was a reason I was avoiding using Expat in my
own work, and I knew there was a parser that behaved this way, but somehow
I didn't remember to put them together. In any case, Expat provides an
_excellent_ example of a widely-used and well-respected parser that has
this behavior, which gives me plenty to write about.
Simon St.Laurent
XML: A Primer / Cookies
Sharing Bandwidth (December)
Building XML Applications (January)
http://www.simonstl.com