Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation of classSpec/@generate and classRef/@expand with alternative solutions. #2549

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading