You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Murphy, James" <Ja...@excelergy.com> on 2001/10/29 22:39:26 UTC
Schema error vs. Instance error?
Hi all,
I am parsing an instance with an associated schema using
DOMParser. I am trying to differentiate between errors
parsing the schema and errors parsing the instance.
Currently I can't tell in the call to error(). This is all
so I know when I can reuse grammar in the parser. Obviously
if I fail to parse the schema I don't want to reuse the grammar.
I was looking atTraverseSchema::reportSchemError but I'm not
sure how to hook into it. It seems kinda deep. I also can't
seem to hook the XMLScanner's Error reporter since the
DOMParser keeps it under wraps.
Any thoughts?
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org