John Utz wrote:
> > Do you need to validate the Schema against the Schema grammar?
> 
> ultimately, yes, i do. 

Xerces does not allow you to validate a schema against Schema for
Schemas. 

> but, you avoided the quaestion that i asked, shouldnt xerces 'know' that i
> am asking it to validate a schema?

No. The DocumentTracer is design to trace instance documents (and
validate those). For parsing XML Schemas we use completely different
code which has XML Schema validation code built-in. If you don't need
events to parser XML Schemas use dom.ASBuilder sample:
http://xml.apache.org/xerces2-j/samples-dom.html#ASBuilder

-- 
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to