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 Wed, 25 Oct 2017 00:02:46 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61630

--- Comment #13 from Javen O'Neal <onealj@apache.org> ---
Looks to be due to the left and right xpaths being different lengths

Reading spreadsheet/59026.xlsx with class org.apache.poi.stress.XSSFFileHandler
compare() called with:
    leftXpath=/Root/EmployeeInfo/DateOfBirth
    rightXpath=/Root/EmployeeInfo/Name
indexOfElementInComplexType() called with:
    samePath = //Root/EmployeeInfo
    leftElementName=DateOfBirth
    rightElementName=Name
    complexType=null

compare() called with:
    leftXpath=/Root/EmployeeInfo/Code
    rightXpath=/Root/EmployeeInfo/DateOfBirth
indexOfElementInComplexType() called with:
    samePath = //Root/EmployeeInfo
    leftElementName=Code
    rightElementName=DateOfBirth
    complexType=null

compare() called with:
    leftXpath=/Root/ExpenseItem
    rightXpath=/Root/EmployeeInfo/Code
indexOfElementInComplexType() called with:
    samePath = //Root
    leftElementName=ExpenseItem
    rightElementName=EmployeeInfo
    complexType=null

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.
Failed: spreadsheet/59026.xlsx

-- 
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