poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61630] [PATCH] Performance Tweaks in XSSFExportToXML
Date Tue, 24 Oct 2017 23:40:42 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61630

Javen O'Neal <onealj@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #12 from Javen O'Neal <onealj@apache.org> ---
Looks like this broke one of our integration tests (which passes when r1813240
is reverted).
https://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/59026.xlsx

Testcase: testAllFiles[1684: spreadsheet/59026.xlsx using
org.apache.poi.stress.XSSFFileHandler@23223dd8] took 0.016 sec
        Caused an ERROR
While handling spreadsheet/59026.xlsx
java.lang.Exception: While handling spreadsheet/59026.xlsx
        at org.apache.poi.TestAllFiles.testAllFiles(TestAllFiles.java:438)
Caused by: org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid
content was found starting with element 'EmployeeInfo'. One of '{ExpenseItem}'
is expected.
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:452)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3230)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1790)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
        at
com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.beginNode(DOMValidatorHelper.java:277)
        at
com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:244)
        at
com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:190)
        at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:109)
        at javax.xml.validation.Validator.validate(Validator.java:124)
        at
org.apache.poi.xssf.extractor.XSSFExportToXml.isValid(XSSFExportToXml.java:259)
        at
org.apache.poi.xssf.extractor.XSSFExportToXml.exportToXML(XSSFExportToXml.java:219)
        at
org.apache.poi.xssf.extractor.XSSFExportToXml.exportToXML(XSSFExportToXml.java:105)
        at
org.apache.poi.stress.XSSFFileHandler.exportToXML(XSSFFileHandler.java:156)
        at
org.apache.poi.stress.XSSFFileHandler.handleFile(XSSFFileHandler.java:111)
        at org.apache.poi.TestAllFiles.testAllFiles(TestAllFiles.java:410)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message