Hi Elena

On Tue, 26 Mar 2002, Elena Litani wrote:

> 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 it can do so at some point in the future, correct?

> > 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

actually, i *started* this project working with ASBuilder :-). but ASModel
has no implemented accessors for the 'facts' of the parsed schema yet.

and implementing those methods are something we discussed on the -dev list
and it's on hold until the w3c emits some new docs.

in the interim, *is* there some mechanism for extracting the facts? i'd
use it for now if it existed, even if it was complicated. because then i'd
know what the components where so that i could help out with ASModel :-).

tnx!

johnu


> -- 
> Elena Litani / IBM Toronto
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to