I am looking for the set of valid Features for the Xerces implementation of
the JAXP Validator class. The Features described in
http://xerces.apache.org/xerces2-j/features.html pertain to DocumentBuilder
and SAXParser. I have tried using one of the general features listed there
(http://apache.org/xml/features/validation/warn-on-undeclared-elemdef) but
it is not recognised for either Validator or SchemaFactory classes.
In particular I would like to validate a soap envelope that contains a xml
string as its body - using both the SOAP-ENV schema and the relevant schema
of the enveloped xml. This works, but if the wrong schema is specified for
the enveloped xml the soap still validates! I think the feature mentioned
above would warn if the schema was incorrect and so would solve my problem.
Any other suggestions appreciated...
-- 
View this message in context: 
http://www.nabble.com/Validator-features-tf2772590.html#a7733810
Sent from the Xerces - J - Dev mailing list archive at Nabble.com.


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

Reply via email to