Does XercesC contain an extensive logic of XMLSchema validation?

Posted by seas on Stack Overflow See other posts from Stack Overflow or by seas
Published on 2010-04-11T02:23:03Z Indexed on 2010/04/11 2:33 UTC
Read the original article Hit count: 344

Filed under:
|
|
|

Tried to implement a small XML validation tool with XercesC. For some reason I cannot use existing validators right from the box - I need some preprocessing and would like to combine it with validation in a single tool.

I used DOM parser and specified DOMErrorHandler. Instead of a set of errors with detailed messages like I saw from xmllint for the same xml and xmlschema files, only one message appeared that document has a wrong structure without details.

Probably, I did something wrong. But also assume XercesC doesn't contain xmllint functionality right from the box.

Does anybody can give me a hint before I spent too much time?

Thanks.

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xml-schema