[
Lists Home |
Date Index |
Thread Index
]
> 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@ntlworld.com
work: Michael.Kay@softwareag.com
|