views:

11

answers:

0

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.