Hi,

I'm trying to get the unmarshaller to validate, i.e.

 Unmarshaller unmarshaller = getJaxbContext().createUnmarshaller();
 unmarshaller.setValidating(true);

I added the validating="true" attribute to the xjc ant task, but this
then results in a

 BUILD FAILED: /home/menno/develop/project/build.xml:201:
 org.xml.sax.SAXNotRecognizedException: Property:
 http://java.sun.com/xml/jaxp/properties/schemaLanguage

I'm using JaxMe 0.3.1, Ant 1.6.2. and Sun JDK 1.4.2.

Could for example adding xerces to the classpath of the generator fix
this? Are there known setups that do provide validation or is this
feature not yet available in JaxMe?

Thanks,

Menno


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



Reply via email to