-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Validator v.1.18.1
Testing wtih the -p profile
Running on a batch of files resulted in a error message with below. Seems similar to issue #262
The file in question that generates the error is 9,15 MB. The file is converted from a XLSX to ODS via LibreOffice.
Seems like it is not just a question about filesize, as i have been able to validate files with a size of 140 MB. So rather a question of amount of content in the file - suspicion is alot of number of rows/columns
UPDATE: Looking at 7 files that fails validation they are between 8-53 MB in size and have between 200.000 and 1.000.000 number of rows.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)
at org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown Source)
at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeChildren(Unknown Source)
at org.apache.xerces.dom.ParentNode.hasChildNodes(Unknown Source)
at net.sf.saxon.dom.DOMNodeWrapper.getSuccessorNode(DOMNodeWrapper.java:961)
at net.sf.saxon.dom.DOMNodeWrapper.getSuccessorElement(DOMNodeWrapper.java:939)
at net.sf.saxon.tree.util.SteppingNavigator$FollowingElementStepper.step(SteppingNavigator.java:158)
at net.sf.saxon.tree.util.SteppingNavigator$DescendantAxisIterator.next(SteppingNavigator.java:271)
at net.sf.saxon.tree.util.SteppingNavigator$DescendantAxisIterator.next(SteppingNavigator.java:199)
at net.sf.saxon.value.SequenceExtent.from(SequenceExtent.java:49)
at net.sf.saxon.om.SequenceTool.toGroundedValue(SequenceTool.java:55)
at net.sf.saxon.xpath.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:239)
at com.helger.schematron.pure.xpath.XPathEvaluationHelper.evaluate(XPathEvaluationHelper.java:63)
at com.helger.schematron.pure.xpath.XPathEvaluationHelper.evaluateAsNodeList(XPathEvaluationHelper.java:81)
at com.helger.schematron.pure.bound.xpath.PSXPathBoundSchema._validateSerial(PSXPathBoundSchema.java:696)
at com.helger.schematron.pure.bound.xpath.PSXPathBoundSchema.validate(PSXPathBoundSchema.java:796)
at com.helger.schematron.pure.bound.AbstractPSBoundSchema.validateComplete(AbstractPSBoundSchema.java:259)
at com.helger.schematron.pure.SchematronResourcePure.applySchematronValidationToSVRL(SchematronResourcePure.java:394)
at com.helger.schematron.AbstractSchematronResource.applySchematronValidationToSVRL(AbstractSchematronResource.java:286)
at org.openpreservation.odf.validation.rules.SchematronRule.check(SchematronRule.java:76)
at org.openpreservation.odf.validation.rules.SchematronRule.check(SchematronRule.java:63)
at org.openpreservation.odf.validation.rules.SchematronRule.check(SchematronRule.java:47)
at org.openpreservation.odf.validation.rules.ProfileImpl.getRulesetMessages(ProfileImpl.java:73)
at org.openpreservation.odf.validation.rules.ProfileImpl.check(ProfileImpl.java:54)
at org.openpreservation.odf.validation.Validator.profile(Validator.java:123)
at org.openpreservation.odf.apps.CliValidator.profilePath(CliValidator.java:87)
at org.openpreservation.odf.apps.CliValidator.call(CliValidator.java:60)
at org.openpreservation.odf.apps.CliValidator.call(CliValidator.java:39)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)