Bug 61939 - Provide schema for AlternateContent - provide new ooxml-schemas-1.4.jar
Summary: Provide schema for AlternateContent - provide new ooxml-schemas-1.4.jar
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: OPC (show other bugs)
Version: 4.0-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-30 21:51 UTC by Andreas Beeker
Modified: 2017-12-30 22:19 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Beeker 2017-12-30 21:51:42 UTC
Currently XmlBeans returns XmlAnyTypes if a XmlObject resides in an AlternateContent tag.

Providing the schema for AlternateContent (thanks to Docx4J [1]) solves those errors and the correct xmltype is returned.


[1] https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd
Comment 1 Andreas Beeker 2017-12-30 22:19:22 UTC
applied via r1819690