> So every thing is good,
> but when enter an InValid XML (i.e. the XML data has more than one error in
> its data types according to XSD file), only the first error will be
> reported by XML validator, so what is the right way to let the XML
> validator to go through all the errors in XML and reporting them all.
> Thanks.

Perhaps somebody can contradict me but most parsers fail on the first error
because

1 - they parse a stream, not the whole thing at once, so it would hard to know
if a second error was caused by the first and so on
2 - the point of validation is to tell you you have an invalid document, much
simpler than trying to accurately tell you everthing that's wrong with a
document

Reply via email to