eliasen wrote:
Quote:
Well, apparently, the code works. I tested it with two different
required elements missing... and only the first error appeared. But
when I test it with invalid content in two different elements, it
works well.
Probably because the missing element is a fatal error as well? |
I don't think it is a fatal error in the sense that parsing is aborted.
It might simply be that the parser has difficulties to find the right
position in the source and the schema to continue validation.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/