By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,366 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

standardization-efforts concerning output of validating parsers

P: n/a
hello everybody,

does anybody know of standardization efforts concerning the output
of w3cSchema/relaxNG-validating parsers ?

I use libxml2 for validation-purposes (w3c-Schema and relaxNG) and have
the impression that

(a) the output in case the xml-document is not valid, is not very verbose
(b) the structure of the returned message (in case of the xml-document
not beeing valid) is...well, it's just text. would be nice, if
would return some standardized xml
(c) there's no possibilty, neither in w3c-Schema nor in relaxNG (Schematron
is another case, but unfortunately I can't make use of it in
I'm programming for) to add "error_message-tags" to the schema file at
the appropriate places (at least not those that would be recognized by
the parser in case of a validation-error) containing self-explanatory
error- messages, hints how to make the parsed xml-document valid
or whatever.

right now, it seems to be (almost) impossible to automatically read the
output of a validating parser, extract the important information and
present it to the user.


Oct 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.