Hi,
Whilst updating the our software to use the Java library "Apache POI", we came across an issue whereby the documentation for the ECMA-376 5th Edition standard specification differs from the WML.RNC and WML.XSD files contained in Part 1 "Strict" zips and Part 4 "Transitional" zips.
According to the spec, the "ST_HINT" type should have an enumeration for "cs" alongside "default" and "eastAsia", but it is missing:
- Ecma Office Open XML Part 1 - Fundamentals And Markup Language Reference.pdf
- 17.18.41 ST_Hint (Font Type Hint) p.1396 (page 1406)
cs (Complex Script Font) is mentioned as a possible value
- A.1 WordprocessingML p.3841 (page 3851)
Line 1715 of the XSD shows 'cs' as a possible value.
- ECMA-376-Fifth-Edition-Part-1-Fundamentals-And-Markup-Language-Reference.zip
- OfficeOpenXML-XMLSchema-Strict.zip
- wml.xsd
Line 1712 of the XSD there is no ST_Hint "CS" enumeration and thus no Java ENUM in the code generated for the POI library.
- ECMA-376-Fifth-Edition-Part-4-Transitional-Migration-Features.zip
- OfficeOpenXML-XMLSchema-Transitional.zip
- wml.xsd
Line 1789 of the XSD there is no ST_Hint "CS" enumeration and thus no Java ENUM in the code generated for the POI library.
This is causing exceptions to be raised inside the Apache POI library when attempting to read a Word document using the hint. I'm unsure of the correct place to raise this issue, though the Apache bugs team pointed me here. Is this the place to report the issue, and can the RNC/XSD files be fixed?
For reference: https://bz.apache.org/bugzilla/show_bug.cgi?id=66085