Differences between strict schemas in Annex A and scema files
Rex Jaeschke
rex at RexJaeschke.com
Mon Dec 7 19:41:10 CET 2015
To be on the safe side, I think we should deal with these (and those from the transitional Part) in a DR.
Rex
From: eb2mmrt at gmail.com [mailto:eb2mmrt at gmail.com] On Behalf Of MURATA Makoto
Sent: Saturday, November 21, 2015 5:27 PM
To: SC34 <e-SC34-WG4 at ecma-international.org>
Subject: Differences between strict schemas in Annex A and scema files
Dear colleagues,
I extracted schemas in ISO-IECJTC1-SC34-WG4_N0309 and compared
them against strict schemas in the schema repository at Assembla.com.
I find some errors. I don't know when these errors are introduced. Should
we file DRs or are they editorial mistakes?
In dml-chart.xsd in Annex A,
replace
<xsd:attribute name="val" type="ST_DepthPercent" default="100"/>
by
<xsd:attribute name="val" type="ST_DepthPercent" default="100%"/>
(Note: % is missing.)
In dml-wordprocessingDrawing.xsd in Annex A
replace
xmlns:r=http://purl.oclc.org/ooxml/officeDocument/relationships
<xsd:import namespace=http://purl.oclc.org/ooxml/drawingml/picture
<xsd:import namespace=http://purl.oclc.org/ooxml/officeDocument/relationships
by
xmlns:r="http://purl.oclc.org/ooxml/officeDocument/relationships"
<xsd:import namespace="http://purl.oclc.org/ooxml/drawingml/picture"
<xsd:import namespace="http://purl.oclc.org/ooxml/officeDocument/relationships"
respectively. (Note: double quotation marks are missing.)
In shared-commonSimpleTypes.xsd in Annex A
1) After the line containning "<xsd:schema", insert
xmlns="http://purl.oclc.org/ooxml/officeDocument/sharedTypes"
2) Replace
<xs:union memberTypes="xsd:boolean"/>
by
<xsd:union memberTypes="xsd:boolean"/>
In sml.xsd in Annex A,
replace
xmlns=http://purl.oclc.org/ooxml/spreadsheetml/main"
by
xmlns="http://purl.oclc.org/ooxml/spreadsheetml/main"
(Note: the first double quotation mark is missing.)
In wml.xsd in Annex A
1) insert
<xsd:simpleType name="ST_ShortHexNumber">
after
<xsd:attribute name="val" type="ST_LongHexNumber" use="required"/>
</xsd:complexType>
2)
<xsd:attribute name="nlCheck" type="s:ST_OnOff" use="optional" default="nlCheck"/>
should be
<xsd:attribute name="nlCheck" type="s:ST_OnOff" use="optional" default="off"/>
(Note: the default value is incorrect.)
3)
Note: this might be already taken care of.
Replace
<xsd:attribute name="charSpace" type="ST_DecimalNumber"/>
by
<xsd:attribute name="charSpace" type="ST_DecimalNumber" use="optional" default="0"/>
4)
<xsd:attribute name="val" type="xsd:base64Binary" use="required">
</xsd:attribute>
should be
<xsd:attribute name="val" type="xsd:base64Binary" use="required"/>
(Note: use the empty-element syntax.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20151207/8bfed99e/attachment.html>
More information about the sc34wg4
mailing list