xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafał Pająk" <Paj...@prokom.pl>
Subject No validation during parsing
Date Fri, 20 Aug 2004 13:30:41 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message