[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Validation irrespective of DOCTYPE?
> Or can I just insist that my upstream source supplies a DOCTYPE? Is this > commonly regarded as part of the XML "contract"? I certainly regard it that way, though I'd believe there are people who don't. (In much the same way I believe in alien life forms ... :) If there's no DTD at all, you may also be able to just use a streaming validator like this one: http://www.gnu.org/software/classpathx/jaxp/apidoc/gnu/xml/pipeline/ValidationConsumer.html Preload the DTD, and then push the output through that. - Dave
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|