You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Rafał Pająk <Pa...@prokom.pl> on 2004/08/20 15:30:41 UTC

No validation during parsing

I compiled schema  file (*.xsd) to Java classes
When I call MyRootDocument.Factory.parse(new File(args[0]))
I get  org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Date 
value is malformed: 2004-08-13aa

Is there any way to switch off validation during parsing ? 
I want to call later subTree.validate(validateOptions) to check that some 
sub tree of my xml is valid

thanks for help

Rafal Pajak