DR-09-0316, 0317 and 0318

Alex Brown alexb at griffinbrown.co.uk
Thu Mar 18 18:20:39 CET 2010


Shawn, all,

>  A conforming Office Open XML document shall conform to the transitional W3C XML Schema or
> the strict W3C XML Schema (Item 1

I think the problem here is that these documents are packages, not XML document, and so can't conform to a schema. There probably needs to be an initial bullet point explaining this

"An Office Open XML document shall be an OPC package as defined by ISO/IEC 29500:2 and further specified in this Part of ISO/IEC 29500"

I then think what we need is some language like:

"All package content shall conform to the normative provisions of this International Standard. All XML documents in the package which contain elements in Namespaces targeted by the normative schemas of this International standard shall be valid to those schemas." (if this is what is meant - see my meandering earlier comments about the extensions/Namespace interaction difficulties)

>) after the evaluation of any extensibility mechanisms described by ISO/IEC 29500-3,

I think this is too vague for a conformance clause. I think we really need to say is "after the application of the process described in Part 3, clause XXX" - once we have that clause.

> and any additional syntax constraints (Item 2).
Can be omitted since we now state all conditions must hold.

> The Office Open XML document character set shall conform to the Unicode Standard and ISO/IEC 10646:2003,
> with either the UTF-8 or UTF-16 encoding form, as required by the XML 1.0 standard.

Most of this is redundant since we're already specifying XML documents. If we really want to constraint document encoding then we can just say "the encoding of every XML document in the package shall be UTF-8 or UTF-16" for this bullet.

I think the fourth bullet point is redundant since we should require schema-validity in bullet #2.






From: Shawn Villaron [mailto:shawnv at microsoft.com]
Sent: 18 March 2010 16:40
To: 'SC 34 WG4'
Subject: DR-09-0316, 0317 and 0318

This set of GB defect reports relate to the Document Conformance clause in Part 1.  DR-09-0317 also talked about the issue identified in DR-0315, so I'd like to address that issue ( MCE preprocessing ) via that DR.

Here is my proposed marked-up text:

2.4      Document Conformance
Document conformance is purely syntactic; it involves only Items 1 and 2 in §2.3 above.

An Office Open XML document is conformant to this part of ISO/IEC 29500 if all of the following conditions hold:


·         A conforming Office Open XML document shall conform to the transitional W3C XML Schema or the strict W3C XML Schema (Item 1) after the evaluation of any extensibility mechanisms described by ISO/IEC 29500-3, and any additional syntax constraints (Item 2).

·         The Office Open XML document shall be of category Wordprocessing, Spreadsheet, or Presentation.

·         The Office Open XML document character set shall conform to the Unicode Standard and ISO/IEC 10646:2003, with either the UTF-8 or UTF-16 encoding form, as required by the XML 1.0 standard.

·         Any XML element or attribute not explicitly included in ISO/IEC 29500 shall use the extensibility mechanisms described by ISO/IEC 29500-1 and ISO/IEC 29500-3.
Each Part of this multi-part standard has its own conformance clause. The term conformance class is used to disambiguate conformance within different Parts of this multi-part standard. This Part of ISO/IEC 29500 defines the following document conformance classes:


·         WML Strict, if the Office Open XML document is a conforming document of category Wordprocessing that conforms to the strict schema and does not include any features from Part 4.

·         SML Strict, if the Office Open XML document is a conforming document of category Spreadsheet that conforms to the strict schema and does not include any features from Part 4.

·         PML Strict, if the Office Open XML document is a conforming document of category Presentation that conforms to the strict schema and does not include any features from Part 4.
In addition, Office Open XML documents of conformance class WML Strict, SML Strict, or PML Strict shall not embed documents of conformance class WML Transitional, SML Transitional, or PML Transitional as defined in Part 4.

Document categories Wordprocessing, Spreadsheet, and Presentation are defined in §4.

[Note: Other document conformance classes could be defined in the future. end note]

[Note: A document cannot be of more than one of the above conformance classes. end note]



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20100318/8a467817/attachment-0001.htm>


More information about the sc34wg4 mailing list