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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] DTD validation without a DOCTYPE

[ 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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS