Could you please be more elaborate?
-----Original Message-----
From: Michael Glavassevich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 20, 2006 3:13 PM
To: [email protected]
Cc: Kar, Swayambhuba
Subject: Re: Custom validation

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.ht
ml

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]

Reply via email to