[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Turning off validation (was Re: Schemas and entities)
Simon St.Laurent wrote: >>Arghh. Must be Friday. You're right, I'm wrong. Most validating >>parsers actually recover from no declaration for the root element by >>turning off validation, but that's a contingent, not a necessary, >>property. > >Really? This I've never heard before, and I like to keep up with these >kinds of wacky false-positive issues. > >MSXML behaves like this if there's no DTD, but I thought they were the only >ones. Anyone have a list? It depends what you mean by "turning off validation". If it means not reporting any error at all, that seems wrong. In the absence of a DTD, rxp -V reports Warning: Document has no DTD, validating abandoned and (after proceeding in non-validating mode) returns a status indicating that the document is invalid. It seems utterly pointless to report that each and every element and attribute is undeclared. -- Richard
|
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
|