https://issues.apache.org/bugzilla/show_bug.cgi?id=53819
--- Comment #3 from Yegor Kozlov <ye...@dinom.ru> --- POI follows the OOXML spec which requires all package parts to be well-formed XML. If a part is malformed then it is a bug (or a weird feature) of MS Office. POI works with XML via XmlBeans and its Piccolo parser does not allow duplicate attributes. I appears that it is a general behavior: - Xerces (the standard XML parser from JDK) cannot parse it either - Chrome browser can't parse it - msxml.dll (Windows-wide XML parser) cannot parse it. So I don't see a problem with POI here. Yegor (In reply to comment #2) > Hi. Yegor. > > Thank you for your comment. > This file in attachment is originally created with Microsoft Excel (Ver: > 14.0.6123.5001 32-bit) > > Anton. > > > > (In reply to comment #1) > > The stack trace tells that the file contains invalid xml. I checked the > > attached file and it is indeed so: > > /xl/drawings/vmlDrawing1.vml contains duplicate attributes which is not > > allowed, > > have a look at the following fragemnt: > > > > <v:fill o:relid="rId1" o:relid="rId1" o:relid="rId1" o:relid="rId1" > > o:relid="rId1" > > o:relid="rId1" o:relid="rId1" o:relid="rId1" o:relid="rId1" > > o:relid="rId1" > > o:relid="rId1" o:relid="rId1" o:relid="rId1" o:relid="rId1" > > o:relid="rId1" > > o:relid="rId1" o:relid="rId1" o:relid="rId1" o:relid="rId1" > > o:relid="rId1" > > o:relid="rId1" o:relid="rId1" o:relid="rId1" o:relid="rId1" > > o:relid="rId1" > > > > > > I don't see a problem with POI here. What is the origin of this file? Make > > sure that this application writes correct XML. > > > > Yegor -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org