Unfortunately, there are at least three different definitions of types (XML, W3C XML Schema, and MIME) already. OOXML (vaguely) introduces yet another definition of types. The confusion is demonstrated by the example at the bottom of Page 25 of Part 1.
The relationship in question specifies "http://schemas.openxmlformats.org/officeDocument/2006/relationsihps/officeDocument"
as the "type" of document.xml. However, we already have three types (shown below) for the root element of document.xml.
The relationship in question specifies "http://schemas.openxmlformats.org/officeDocument/2006/relationsihps/officeDocument"
as the "type" of document.xml. However, we already have three types (shown below) for the root element of document.xml.
The element type (as defined by W3C XML) of this element is "w:document".
Note: Surprisingly enough, element types are never clearly defined by the XML recommendation. Here we follow the interpretation of one of the editors of the XML recommendation and assume that element types are strings.
The complex type of this element is "CT_Document", which is specified in wml.xsd.
The content type of this part is application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml.
Do not introduce yet another definition of the word "type".
Part 1
ed
Proposed Disposition of DIS 29500 Comment JP-0019 (Modified: 2007-12-07) Agreed; the specification will be examined for use of the term “type”. Its specific meaning (e.g., element type; attribute type; part type; etc.) will be made clear by adding that qualification. Some examples are: 1. Part 4, §2.3.2.33, pages 226227, row for the val attribute in the table: Attributes Description val (Positive or Negative Value in Twentieths of a Point) Specifies a value whose contents shall contain a positive whole number, whose contents consist of a positive or negative measurement in twentieths of a point (equivalent to 1/1440th of an inch). The contents of this measurement shall be interpreted based on the context of the parent XML element. [Example: Consider an attribute value of - 720 whose simple type is ST_SignedTwipsMeasure. This attribute value specifies a value of negative one-half of an inch or -36 points (- 720 twentieths of a point = -36 points = -0.5 inches). end example] The possible values for this attribute are defined by the ST_SignedTwipsMeasure simple type (§2.18.88). 2. Part 4, §2.3.3.3, page 246, row for the id attribute in the table: Attributes Description id (Embedded Control Properties Relationship Reference) Namespace: …/officeDocument/2006/relationships Specifies the relationship ID for the relationship which contains the properties for this embedded control. This property bag is contained in a separate part within the Word Open XML package. The relationship explicitly targeted by this attribute shall be of relationship type http://schemas.openxmlformats.org/officeDocument/2006/relationships/control or the document shall be conisdered non-conformant. If this attribute is omitted, then the embedded control shall be given no property bag when instantiated. 3. Part 4, §2.3.3.17, pages 259260, row for the id attribute in the table: Attributes Description id (Relationship to Part) Namespace: …/officeDocument/2006/relationships Specifies the relationship ID to a specified part. The specified relationship shall match the relationship type required by the parent element: http://schemas.openxmlformats.org/officeDocument/2006/relationshi ps/footer for the footerReference element http://schemas.openxmlformats.org/officeDocument/2006/relationshi ps/header for the headerReference element http://schemas.openxmlformats.org/officeDocument/2006/relationshi ps/font for the embedBold, embedBoldItalic, embedItalic, or embedRegular elements http://schemas.openxmlformats.org/officeDocument/2006/relationshi ps/printerSettings for the printerSettings element 4. Part 4, §2.4.9, page 307, row for the val attribute in the table: Attributes Description val (Decimal Number Value) Specifies that the contents of this attribute will contain a decimal number. The contents of this decimal number are interpreted based on the context of the parent XML element. [Example: Consider the following numeric WordprocessingML property of simple type ST_DecimalNumber : <w:... w:val="1512645511" /> The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example] The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). Similar Comments: ECMA-0033 ,
