The schema loader does accept SAX as an input so you could also write a filter [1] which checks the additional restrictions as the schema document is being parsed.
[1] http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/XMLFilter.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote on 09/20/2006 05:57:34 PM: > Create a subset of the schema-for-schemas which implements your > restrictions, and validate the schema document(s) against that? > > ______________________________________ > "... Three things see no end: A loop with exit code done wrong, > A semaphore untested, And the change that comes along. ..." > -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff. > org/pegasus/songs/threes-rev-11.html) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
