[Home] [By Thread] [By Date] [Recent Entries]


> However, I think the new Xerces 2 can do DTD validation on a
> stream of SAX
> events. I haven't investigated this in depth, but you can try
> starting with
> a faq they have
> (http://xml.apache.org/xerces2-j/faq-pcfp.html) and then
> poke around a bit deeper and see if they support this. If
> this works, you
> can just insert a SAX filter in the pipeline before the DTD
> validator, and
> add your own DOCTYPE declaration to the event stream for any
> doc that does
> not contain one.

I think there is also a validator implemented as a SAX filter as part of
David Brownell's AElfred2.

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member