Skip to content

Commit

Permalink
deprecated classSpec/@generate and classRef/@expand. Refs #2369
Browse files Browse the repository at this point in the history
  • Loading branch information
raffazizzi committed Apr 13, 2024
1 parent 43e2037 commit 281358a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion P5/Source/Specs/classRef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
<desc versionDate="2024-02-28" xml:lang="ja">指示されたソースの中の要求されたクラスに対して使用される識別子。</desc>
<datatype><dataRef key="teidata.xmlName"/></datatype>
</attDef>
<attDef ident="expand" usage="opt">
<attDef ident="expand" usage="opt" validUntil="2024-10-13">
<desc type="deprecationInfo" versionDate="2024-04-13" xml:lang="en">
Since classes are meant to be an unordered data structure, the <att>expand</att> attribute will no longer be supported.
Class members will be considered to be in alternation. To impose a sequence it will be necessary use <gi>elementRef</gi> with
references to the individual elements.
</desc>
<desc versionDate="2013-11-21" xml:lang="en">indicates how references
to this class within a content model should be interpreted.</desc>
<desc versionDate="2024-02-28" xml:lang="ja">内容モデル内でこのクラスへの参照がどのように解釈されるべきなのかを示す。</desc>
Expand Down
6 changes: 5 additions & 1 deletion P5/Source/Specs/classSpec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ that is a group of
</valItem>
</valList>
</attDef>
<attDef ident="generate" usage="opt">
<attDef ident="generate" usage="opt" validUntil="2024-10-13">
<desc type="deprecationInfo" versionDate="2024-04-13" xml:lang="en">
Since classes are meant to be an unordered data structure, the <att>generate</att> attribute will no longer be supported.
Some content model operations may be handled at instantiation with <gi>classRef</gi>, with the exclusion of imposing a sequence.
</desc>
<desc versionDate="2007-10-23" xml:lang="en">indicates which alternation and sequence instantiations
of a model class may be referenced. By default, all variations
are permitted.</desc>
Expand Down

0 comments on commit 281358a

Please sign in to comment.