Skip to content

Commit

Permalink
Merge pull request #86 from robander/397
Browse files Browse the repository at this point in the history
Change base of itemgroup to div oasis-tcs/dita#397
  • Loading branch information
robander authored Oct 20, 2020
2 parents 55c2114 + 0e65a80 commit 35b2f8a
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 39 deletions.
22 changes: 11 additions & 11 deletions doctypes/dtd/technicalContent/task.mod
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
(%choices; |
%choicetable; |
%info; |
%itemgroup; |
%div; |
%stepxmp; |
%steps; |
%steps-unordered; |
Expand Down Expand Up @@ -265,7 +265,7 @@

<!-- LONG NAME: Information -->
<!ENTITY % info.content
"(%itemgroup.cnt;)*"
"(%div.cnt;)*"
>
<!ENTITY % info.attributes
"%univ-atts;"
Expand All @@ -276,7 +276,7 @@

<!-- LONG NAME: Tutorial Information -->
<!ENTITY % tutorialinfo.content
"(%itemgroup.cnt;)*"
"(%div.cnt;)*"
>
<!ENTITY % tutorialinfo.attributes
"%univ-atts;"
Expand All @@ -285,7 +285,7 @@
<!ATTLIST tutorialinfo %tutorialinfo.attributes;>


<!-- Match itemgroup.cnt from base, but exclude example element -->
<!-- Match div.cnt from base, but exclude example element -->
<!ENTITY % stepxmp.cnt
"#PCDATA |
%basic.block.noexample; |
Expand Down Expand Up @@ -476,7 +476,7 @@

<!-- LONG NAME: Step Result -->
<!ENTITY % stepresult.content
"(%itemgroup.cnt;)*"
"(%div.cnt;)*"
>
<!ENTITY % stepresult.attributes
"%univ-atts;"
Expand All @@ -487,7 +487,7 @@

<!-- LONG NAME: Step Troubleshooting -->
<!ENTITY % steptroubleshooting.content
"(%itemgroup.cnt;)*"
"(%div.cnt;)*"
>
<!ENTITY % steptroubleshooting.attributes
"%univ-atts;"
Expand Down Expand Up @@ -541,11 +541,11 @@
<!ATTLIST stepsection class CDATA "- topic/li task/stepsection ">
<!ATTLIST step class CDATA "- topic/li task/step ">
<!ATTLIST cmd class CDATA "- topic/ph task/cmd ">
<!ATTLIST tutorialinfo class CDATA "- topic/itemgroup task/tutorialinfo ">
<!ATTLIST info class CDATA "- topic/itemgroup task/info ">
<!ATTLIST stepxmp class CDATA "- topic/itemgroup task/stepxmp ">
<!ATTLIST stepresult class CDATA "- topic/itemgroup task/stepresult ">
<!ATTLIST steptroubleshooting class CDATA "- topic/itemgroup task/steptroubleshooting ">
<!ATTLIST tutorialinfo class CDATA "- topic/div task/tutorialinfo ">
<!ATTLIST info class CDATA "- topic/div task/info ">
<!ATTLIST stepxmp class CDATA "- topic/div task/stepxmp ">
<!ATTLIST stepresult class CDATA "- topic/div task/stepresult ">
<!ATTLIST steptroubleshooting class CDATA "- topic/div task/steptroubleshooting ">
<!ATTLIST choices class CDATA "- topic/ul task/choices ">
<!ATTLIST choice class CDATA "- topic/li task/choice ">
<!ATTLIST result class CDATA "- topic/section task/result ">
Expand Down
22 changes: 11 additions & 11 deletions doctypes/rng/technicalContent/taskMod.rng
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"

<div>
<a:documentation>COMMON CONTENT MODEL PATTERNS</a:documentation>
<!-- Match itemgroup.cnt but exclude example -->
<!-- Match div.cnt but exclude example -->
<define name="stepxmp.cnt">
<choice>
<text/>
Expand Down Expand Up @@ -478,7 +478,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
<ref name="choices"/>
<ref name="choicetable"/>
<ref name="info"/>
<ref name="itemgroup"/>
<ref name="div"/>
<ref name="stepxmp"/>
<ref name="steps"/>
<ref name="steps-unordered"/>
Expand Down Expand Up @@ -551,7 +551,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
<a:documentation> LONG NAME: Information </a:documentation>
<define name="info.content">
<zeroOrMore>
<ref name="itemgroup.cnt"/>
<ref name="div.cnt"/>
</zeroOrMore>
</define>
<define name="info.attributes">
Expand All @@ -575,7 +575,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
<a:documentation> LONG NAME: Tutorial Information </a:documentation>
<define name="tutorialinfo.content">
<zeroOrMore>
<ref name="itemgroup.cnt"/>
<ref name="div.cnt"/>
</zeroOrMore>
</define>
<define name="tutorialinfo.attributes">
Expand Down Expand Up @@ -881,7 +881,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
<a:documentation> LONG NAME: Step Result </a:documentation>
<define name="stepresult.content">
<zeroOrMore>
<ref name="itemgroup.cnt"/>
<ref name="div.cnt"/>
</zeroOrMore>
</define>
<define name="stepresult.attributes">
Expand All @@ -906,7 +906,7 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
<a:documentation> LONG NAME: Step Troubleshooting </a:documentation>
<define name="steptroubleshooting.content">
<zeroOrMore>
<ref name="itemgroup.cnt"/>
<ref name="div.cnt"/>
</zeroOrMore>
</define>
<define name="steptroubleshooting.attributes">
Expand Down Expand Up @@ -1042,27 +1042,27 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Task//EN"
</define>
<define name="tutorialinfo.attlist" combine="interleave">
<optional>
<attribute name="class" a:defaultValue="- topic/itemgroup task/tutorialinfo "/>
<attribute name="class" a:defaultValue="- topic/div task/tutorialinfo "/>
</optional>
</define>
<define name="info.attlist" combine="interleave">
<optional>
<attribute name="class" a:defaultValue="- topic/itemgroup task/info "/>
<attribute name="class" a:defaultValue="- topic/div task/info "/>
</optional>
</define>
<define name="stepxmp.attlist" combine="interleave">
<optional>
<attribute name="class" a:defaultValue="- topic/itemgroup task/stepxmp "/>
<attribute name="class" a:defaultValue="- topic/div task/stepxmp "/>
</optional>
</define>
<define name="stepresult.attlist" combine="interleave">
<optional>
<attribute name="class" a:defaultValue="- topic/itemgroup task/stepresult "/>
<attribute name="class" a:defaultValue="- topic/div task/stepresult "/>
</optional>
</define>
<define name="steptroubleshooting.attlist" combine="interleave">
<optional>
<attribute name="class" a:defaultValue="- topic/itemgroup task/steptroubleshooting "/>
<attribute name="class" a:defaultValue="- topic/div task/steptroubleshooting "/>
</optional>
</define>
<define name="choices.attlist" combine="interleave">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/technicalContent/info.dita
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<section id="specialization-hierarchy">
<title>Specialization hierarchy</title>
<p>The <xmlelement>info</xmlelement> element is specialized from
<xmlelement>itemgroup</xmlelement>. It is defined in the task
<xmlelement>div</xmlelement>. It is defined in the task
module.</p>
</section>
<section id="attributes">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<section id="specialization-hierarchy">
<title>Specialization hierarchy</title>
<p>The <xmlelement>steptroubleshooting</xmlelement> element is specialized from
<xmlelement>itemgroup</xmlelement>. It is defined in the task module.</p>
<xmlelement>div</xmlelement>. It is defined in the task module.</p>
</section>
<section id="attributes">
<title>Attributes</title>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/technicalContent/stepxmp.dita
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<section id="specialization-hierarchy">
<title>Specialization hierarchy</title>
<p>The <xmlelement>stepxmp</xmlelement> element is specialized from
<xmlelement>itemgroup</xmlelement>. It is defined in the task module.</p>
<xmlelement>div</xmlelement>. It is defined in the task module.</p>
</section>
<section id="attributes"><title>Attributes</title>
<p>The following attributes are available on this element: <xref keyref="attributes-universal"/>.</p>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/technicalContent/tutorialinfo.dita
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<section id="specialization-hierarchy">
<title>Specialization hierarchy</title>
<p>The <xmlelement>tutorialinfo</xmlelement> element is specialized from
<xmlelement>itemgroup</xmlelement>. It is defined in the task module.</p>
<xmlelement>div</xmlelement>. It is defined in the task module.</p>
</section>
<section id="attributes"><title>Attributes</title>
<p>The following attributes are available on this element: <xref keyref="attributes-universal"/>.</p>
Expand Down
18 changes: 5 additions & 13 deletions specification/non-normative/elementsMerged.dita
Original file line number Diff line number Diff line change
Expand Up @@ -411,14 +411,6 @@
<stentry>n/a</stentry>
<stentry/>
</strow>
<strow>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry>N/A</stentry>
<stentry>inline</stentry>
<stentry>inline</stentry>
<stentry>yes</stentry>
<stentry/>
</strow>
<strow>
<stentry><xmlelement>keyword</xmlelement></stentry>
<stentry>N/A</stentry>
Expand Down Expand Up @@ -2056,7 +2048,7 @@
</strow>
<strow>
<stentry><xmlelement>info</xmlelement></stentry>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry><xmlelement>div</xmlelement></stentry>
<stentry><b>NO</b></stentry>
<stentry>inline</stentry>
<stentry><b>block</b></stentry>
Expand Down Expand Up @@ -2101,7 +2093,7 @@
</strow>
<strow>
<stentry><xmlelement>stepresult</xmlelement></stentry>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry><xmlelement>div</xmlelement></stentry>
<stentry><b>NO</b></stentry>
<stentry>inline</stentry>
<stentry><b>block</b></stentry>
Expand Down Expand Up @@ -2146,7 +2138,7 @@
</strow>
<strow>
<stentry><xmlelement>steptroubleshooting</xmlelement></stentry>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry><xmlelement>div</xmlelement></stentry>
<stentry>yes</stentry>
<stentry>block</stentry>
<stentry>block</stentry>
Expand All @@ -2155,7 +2147,7 @@
</strow>
<strow>
<stentry><xmlelement>stepxmp</xmlelement></stentry>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry><xmlelement>div</xmlelement></stentry>
<stentry><b>NO</b></stentry>
<stentry>inline</stentry>
<stentry><b>block</b></stentry>
Expand Down Expand Up @@ -2191,7 +2183,7 @@
</strow>
<strow>
<stentry><xmlelement>tutorialinfo</xmlelement></stentry>
<stentry><xmlelement>itemgroup</xmlelement></stentry>
<stentry><xmlelement>div</xmlelement></stentry>
<stentry><b>NO</b></stentry>
<stentry>inline</stentry>
<stentry><b>block</b></stentry>
Expand Down

0 comments on commit 35b2f8a

Please sign in to comment.