Graeme Wallace wrote: > I just tried out Xerces 1.0 RevalidatingDOMParser as > XML4J 2.0.15 was barfing on my DTD. > > Is it the expected behavior that if elements are missing > (ie specified in the DTD) > from an XML document that the parser doesnt complain ?
Not sure what all of the spec is, but I do know that an XML parser is required to stop processing a document that is in error. I would suspect that it is also recommended to throw an informative exception or error of some kind as well. The current defined behaviour of an XML:SVG parser is to stop rendering at the point of error and display or cause to be displayed, an image rendered up to th point of error and no more. Further error handling is recommended, but left to the implementation. Hopefully this will discourage poor/non-conformant SVG. -- Rick Graham, Applications Architect BitFlash Graphics Inc., Ottawa, Canada. [EMAIL PROTECTED] http://www.bitflash.com/
