PreserveElements and PreserveAttributes are defined but they are not used by OOXML. To avoid premature standardization, it should be standardized later.

Do not introduce PreserveElements and PreserveAttributes.

Part 5 Clause 10.1.1 and Part 1 Clause 10.1.1

te

Proposed Disposition of DIS 29500 Comment JP-0081 (Modified: 2008-01-02) Agreed; the following changes will be made throughout Parts 1 and 5 to effect this change: Part 1, §10.1.1, page 23, lines 12­18 (the entire clause will be deleted): PreserveElements and PreserveAttributes The PreserveElements and PreserveAttributes elements, as defined in Part 5, allow a markup language to specify the conditions under which extensions should be round-tripped, even when their contents are edited. Within the context of the markup languages explicitly defined by this Standard, no such conditions are specified, and therefore applications are not obliged to support these hints at any point in an Office Open XML document. Instead, the well-defined extensibility constructs defined below should be used. All other constructs defined in Part 5 shall be supported. Part 1, §10.1.2, page 23, lines 22­23 Within the context of Office Open XML documents, the extLst element(s) defined in individual markup languages shall allow the round-tripping of all unknown content regardless of the state of the PreserveElements and PreserveAttributes elements . Part 5, §3, page 4, line 2 preserve –To retain an ignored element or attribute during the course of editing. Part 5, §8.1, page 9, lines 30­34: Within a markup document, a markup producer might also use Markup Compatibility attributes to suggest to a markup editor that the editor attempt to preserve some ignored elements or attributes. The markup editor can attempt to persist these ignored elements and attributes when a saving markup document, despite the editor’s inability to recognize the purpose of these ignored elements and attributes. Part 5, §9, page 11, line 15, Table 9­2: Name Description PreserveElements A whitespace-delimited list of element qualified names identifying the expanded names of elements that a markup producer suggests for preservation by markup editors, even if the elements themselves are ignored. In any qualified name in the list, the wildcard character “*” can replace the local name to indicate that all elements in the namespace should be preserved. PreserveAttributes A whitespace-delimited list of attribute qualified names identifying the expanded names of attributes that a markup producer suggests for preservation by markup editors. In any qualified name in the list, the wildcard character “*” can replace the local name to indicate that all attributes in the namespace should be preserved. Part 5, §9.1.1, page 13, lines 11­14: [Note: By default, an ignored element is ignored in its entirety, including its attributes and its content. The processing of an ignored element's contents is enabled through the use of the ProcessContents attribute. The PreserveAttributes and PreserveElements attributes can be used to assist markup editors in preserving ignored elements and ignored attributes. end note] Part 5, §9.1.1, page 13, lines 21­22: Once reset, by default the markup consumer shall ignore all content contained by the ignored element and markup editors shall not preserve retain ignored attributes and elements when saving . This default behavior shall be overridden by the presence of any ProcessContent , PreserveAttributes, and PreserveElements attribute s on the element with the Ignorable attribute. Part 5, §9.1.1, page 13, line 26: [Example: Example 9­1. Processing Ignorable and PreserveAttributes attributes Part 5, §9.1.1, page 13, lines 31­33: The PreserveAttributes attribute specifies that the v3:Luminance attribute should be preserved during editing, even when the markup editor does not understand the v3:Luminance attribute. Part 5, §9.1.1, page 14, line 8: <Circles xmlns="http://schemas.openxmlformats.org/Circles/v1" xmlns:mc="http://schemas.openxmlformats.org/markup- compatibility/2006" xmlns:v2="http://schemas.openxmlformats.org/Circles/v2" xmlns:v3="http://schemas.openxmlformats.org/Circles/v3" mc:Ignorable="v2 v3" mc:PreserveAttributes="v3:Luminance"> <Circle Center="0,0" Radius="20" Color="Blue" v2:Opacity="0.5" v3:Luminance="13" /> <Circle Center="25,0" Radius="20" Color="Black" v2:Opacity="0.5" v3:Luminance="13" /> <Circle Center="50,0" Radius="20" Color="Red" v2:Opacity="0.5" v3:Luminance="13" /> <Circle Center="13,0" Radius="20" Color="Yellow" v2:Opacity="0.5" v3:Luminance="13" /> <Circle Center="38,0" Radius="20" Color="Green" v2:Opacity="0.5" v3:Luminance="13" /> </Circles> Part 5, §9.1.3 and all subclauses, page 16­18 will be deleted. Part 5, §9.2.1, page 20, lines 11­12: AlternateContent elements might include the attributes Ignorable, MustUnderstand, and ProcessContent ,PreserveElements, and PreserveAttributes described in this specification. Part 5, §9.2.2, page 21, lines 16­17: Choice elements can include the attributes Ignorable, MustUnderstand, and ProcessContent , PreserveElements, and PreserveAttributes described in this specification. Part 5, §9.2.3, page 21, lines 33­34: Fallback elements can include the attributes Ignorable, MustUnderstand, and ProcessContent , PreserveElements, and PreserveAttributes described in this specification. Part 5, §11, page 26, lines 18­19: [Example: Example 11­1. An application-defined XML island An extension element can be used to introduce an "island" of unprocessed XML whose markup is otherwise unconstrained by the application's specification. The specification of the island element can further require preservation of the contents of the island to be retained upon editing by markup processors , without requiring the use of the PreserveElements and PreserveAttributes Markup Compatibility attributes . end example] Part 5, §12, page 29, lines 3­5: In addition to producing such transformed output, the markup preprocessor might also implement mechanisms to optionally provide to a markup editor the additional information necessary to preserve some ignored content. Part 5, §Annex A.1, page 33, lines 29­30: attribute mc:PreserveElements { qnameList }?, attribute mc:PreserveAttributes { qnameList }?, Part 5, §Annex A.2, page 35, line 43 and page 36, line 1: attribute mc:PreserveElements { qnameList }?, attribute mc:PreserveAttributes { qnameList }?, The following Part 5, §Annex C index entries will be removed: attribute, PreserveAttributes attribute, PreserveElements PreserveAttributes PreserveElements

Tag and Go

No Comments

Sorry, the comment form is closed at this time.

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)