Summary: | Handle invalid characters in relationship .rels | ||
---|---|---|---|
Product: | POI | Reporter: | Andreas Beeker <kiwiwings> |
Component: | OPC | Assignee: | POI Developers List <dev> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.1.x-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Andreas Beeker
2019-10-14 19:30:28 UTC
Technically this document is broken and not valid XML, also other xml-tools complain about it: $ xmllint ppt/slides/_rels/slide11.xml.rels ppt/slides/_rels/slide11.xml.rels:2: parser error : invalid character in attribute value t%20&%20Cntrl\DASHTEMPLATE.doc#_Hlk440858950 1,3370,3673,0,, APPROVALS: ^ ... so it will be hard to convince the standard-complying XmlParser in Java to accept it. I haven't tried it yet, but in Xml 1.1 I think it's possible to parse those chars. see https://stackoverflow.com/a/28152666/2066598 |