Differences between strict schemas in Annex A and scema files

MURATA Makoto eb2m-mrt at asahi-net.or.jp
Sat Nov 21 23:27:28 CET 2015


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/20151122/a33c11b5/attachment.html>


More information about the sc34wg4 mailing list