Skip to content

Commit

Permalink
Add outputclass for attribute exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
robander committed May 26, 2021
1 parent ea1aeab commit bf1524f
Show file tree
Hide file tree
Showing 31 changed files with 34 additions and 33 deletions.
8 changes: 4 additions & 4 deletions specification/common/conref-attribute.dita
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<ph
conkeyref="reuse-attributes/ref-architecturalatts"
/>.</p>
<p id="attr-exception-topicid">For this element, the
<p id="attr-exception-topicid" outputclass="attr-exception">For this element, the
<xmlatt>id</xmlatt> attribute is required.</p>
</div><p id="fig-attributes" platform="dita">The following attributes are available on this element: <ph
conkeyref="reuse-attributes/ref-universalatts"/>, <ph
Expand Down Expand Up @@ -201,7 +201,7 @@
<ph conkeyref="reuse-attributes/ref-linkatts"/>, and
<xref keyref="attributes-common/attr-keyref"
><xmlatt>keyref</xmlatt></xref>.</p>
<p id="attr-exception-authortype">For this element, the
<p id="attr-exception-authortype" outputclass="attr-exception">For this element, the
<xmlatt>type</xmlatt> attribute specifies the type
of author. <ph otherprops="examples">For example, possible
values enumerated in earlier versions of DITA
Expand Down Expand Up @@ -247,7 +247,7 @@
conkeyref="reuse-attributes/ref-universalatts"/> and
<xref keyref="attributes-common/attr-keyref"
><xmlatt>keyref</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the
<p id="attr-exception-translate" outputclass="attr-exception">For this element, the
<xmlatt>translate</xmlatt> attribute has a default
value of <keyword>no</keyword>.</p>
</div><dl id="linklist-and-linkpool">
Expand Down Expand Up @@ -486,7 +486,7 @@
><xmlatt>scope</xmlatt></xref>, and <xref
keyref="attributes-common/attr-format"
><xmlatt>format</xmlatt></xref>.</p>
<p id="attr-exception-2">For this element, the <xmlatt>toc</xmlatt>
<p id="attr-exception-toc" outputclass="attr-exception">For this element, the <xmlatt>toc</xmlatt>
attribute has a default value of <keyword>no</keyword>.</p>
</div></section>
<section id="section-8">
Expand Down
2 changes: 1 addition & 1 deletion specification/common/reuse-w-lwdita/reuse-keydef.dita
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<xmlatt>href</xmlatt>, given below), <ph conkeyref="reuse-attributes/ref-localizationatts"/>, <ph conkeyref="reuse-attributes/ref-metadataatts"/>, <xref keyref="attributes-universal/class"
><xmlatt>class</xmlatt></xref>, and <xref keyref="attributes-universal/outputclass"
><xmlatt>outputclass</xmlatt></xref>.</p>
<p id="attr-exception">For this element: <ul id="ul_xxx_hd4_qpb">
<p id="attr-exception" outputclass="attr-exception">For this element: <ul id="ul_xxx_hd4_qpb">
<li>The <xmlatt>keys</xmlatt> attribute is required.</li>
<li>The <xmlatt>href</xmlatt> attribute might be omitted when the key definition is used
for variable text.</li>
Expand Down
2 changes: 1 addition & 1 deletion specification/common/reuse-w-lwdita/reuse-navtitle.dita
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div platform="dita">
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> and <xref
keyref="attributes-common/attr-title-role"><xmlatt>title-role</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<p id="attr-exception" outputclass="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<keyword>navigation</keyword>.</p>
</div>
<p platform="lwdita">The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-localizationatts"/>, <xref keyref="attributes-universal/class"
Expand Down
2 changes: 1 addition & 1 deletion specification/common/reuse-w-lwdita/reuse-topic.dita
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
keyref="attributes-universal/attr-id"><xmlatt>id</xmlatt></xref>, <ph conkeyref="reuse-attributes/ref-architecturalatts"/>, <ph conkeyref="reuse-attributes/ref-localizationatts"/>, and <xref
keyref="attributes-universal/class"><xmlatt>class</xmlatt></xref>, <xref
keyref="attributes-universal/outputclass"><xmlatt>outputclass</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>id</xmlatt> attribute is required.</p>
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>id</xmlatt> attribute is required.</p>
</section>
</refbody>
</reference>
Expand Down
1 change: 1 addition & 0 deletions specification/dita-2.0-specification-subjectScheme.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<subjectdef keys="RFC-2119"/>
<subjectdef keys="documentStage"/>
<subjectdef keys="stageDate"/>
<subjectdef keys="attr-exception"/>
</subjectdef>
<subjectdef keys="values-platform">
<subjectdef keys="dita"/>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/anchor.dita
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<section id="attributes">
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/>.</p>
<p id="attr-exception">For this element, the <xmlatt>id</xmlatt> attribute is required. It is
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>id</xmlatt> attribute is required. It is
referenced by <xmlelement>anchorref</xmlelement> or by the <xmlatt>anchorref</xmlatt>
attribute on <xmlelement>map</xmlelement> elements.</p>
</section>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/anchorref.dita
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
conkeyref="reuse-attributes/ref-commonmapatts"/>, <xref
keyref="attributes-common/attr-keys"><xmlatt>keys</xmlatt></xref>, and <xref
keyref="attributes-common/attr-keyref"><xmlatt>keyref</xmlatt></xref>. </p>
<p id="attr-exception">For this element: <ul id="ul_bsg_4sq_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element: <ul id="ul_bsg_4sq_ppb">
<li>The <xmlatt>href</xmlatt> attribute refers to an
<xmlelement>anchor</xmlelement> element in this or another DITA
map.</li>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/attributedef.dita
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
keyref="attributes-universal/attr-base"><xmlatt>base</xmlatt></xref>, <xref
keyref="attributes-universal/outputclass"><xmlatt>outputclass</xmlatt></xref>,
and <xref keyref="attributes-universal/class"><xmlatt>class</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <ul id="ul_ddp_51l_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element, <ul id="ul_ddp_51l_ppb">
<li>The <xmlatt>name</xmlatt> attribute is required, and specifies the name of
an attribute that will take a set of enumerated values.</li>
<li>The <xmlatt>translate</xmlatt> attribute has a default value of
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/draft-comment.dita
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<section id="attributes">
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> and the attributes defined below.</p>
<p id="attr-exception">For this element, the <xmlatt>translate</xmlatt> attribute has a
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>translate</xmlatt> attribute has a
default value of <keyword>no</keyword>.</p>
<dl>
<dlentry id="author">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/dvrKeyscopePrefix.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> (except for <xmlatt>conkeyref</xmlatt>, which is removed for all elements in this domain)
and <xref keyref="attributes-common/attr-name"><xmlatt>name</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
value of <keyword>dvrKeyscopePrefix</keyword>.</p>
</section>
<example id="example" otherprops="examples">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/dvrKeyscopeSuffix.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> (except for <xmlatt>conkeyref</xmlatt>, which is removed for all elements in this domain)
and <xref keyref="attributes-common/attr-name"><xmlatt>name</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
value of <keyword>dvrKeyscopeSuffix</keyword>.</p>
</section>
<example id="example" otherprops="examples">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/dvrResourcePrefix.dita
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> (except for <xmlatt>conkeyref</xmlatt>, which is removed for all elements in this domain)
and <xref keyref="attributes-common/attr-name"><xmlatt>name</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
value of <keyword>dvrResourcPrefix</keyword>.</p>
</section>
<example id="example" otherprops="examples">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/dvrResourceSuffix.dita
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> (except for <xmlatt>conkeyref</xmlatt>, which is removed for all elements in this domain)
and <xref keyref="attributes-common/attr-name"><xmlatt>name</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>name</xmlatt> attribute has a default
value of <keyword>dvrResourcSuffix</keyword>.</p>
<dl>
<dlentry>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/elementdef.dita
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
><xmlatt>translate</xmlatt></xref>, <xref keyref="attributes-universal/class"
><xmlatt>class</xmlatt></xref>, and <xref keyref="attributes-common/attr-name"
><xmlatt>name</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <ul id="ul_ddp_51l_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element, <ul id="ul_ddp_51l_ppb">
<li>The <xmlatt>name</xmlatt> attribute is required, and specifies the name of an element
to which controlled attribute values are bound.</li>
<li>The <xmlatt>translate</xmlatt> attribute has a default value of
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/hazardsymbol.dita
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ a result of not avoiding a hazard, or any combination of these messages.</shortd
keyref="attributes-common/attr-href"><xmlatt>href</xmlatt></xref>, <xref
keyref="attributes-common/attr-scope"><xmlatt>scope</xmlatt></xref>, and the attributes
defined below.</p>
<p id="attr-exception">For this element, <xmlatt>href</xmlatt> specifies an image.</p>
<p id="attr-exception" outputclass="attr-exception">For this element, <xmlatt>href</xmlatt> specifies an image.</p>
<dl>
<dlentry conkeyref="reuse-attributes/image-height">
<dt/>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/linktitle.dita
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> and <xref
keyref="attributes-common/attr-title-role"><xmlatt>title-role</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<p id="attr-exception" outputclass="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<keyword>linking</keyword>.</p>
</section>
<example id="example" otherprops="examples"><title>Examples</title>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/mapref.dita
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
conkeyref="reuse-attributes/ref-commonmapatts"/>, <xref keyref="attributes-common/attr-keyref"
><xmlatt>keyref</xmlatt></xref>, and <xref keyref="attributes-common/attr-keys"
><xmlatt>keys</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>format</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>format</xmlatt> attribute has a default
value of <keyword>ditamap</keyword>.</p>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/mapresources.dita
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<xmlatt>collection-type</xmlatt>), <xref keyref="attributes-common/attr-keys"
><xmlatt>keys</xmlatt></xref>, <xref keyref="attributes-common/attr-keyref"
><xmlatt>keyref</xmlatt></xref>, and the attributes defined below.</p>
<p id="attr-exception">For this element, the <xmlatt>processing-role</xmlatt> attribute has a
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>processing-role</xmlatt> attribute has a
default value of <keyword>resource-only</keyword>.</p>
</section>
<example id="example" otherprops="examples">
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/relatedSubjects.dita
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
><xmlatt>processing-role</xmlatt></xref>, <xref
keyref="attributes-common/attr-collection-type"><xmlatt>collection-type</xmlatt></xref>,
and <xref keyref="attributes-common/attr-linking"><xmlatt>linking</xmlatt></xref>.</p>
<p id="attr-exception">For this element, the <xmlatt>linking</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>linking</xmlatt> attribute has a default
value of <keyword>normal</keyword>.</p>
</section>
<example id="example" otherprops="examples"><title>Example</title>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/reltable.dita
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
><xmlatt>type</xmlatt></xref>, <xref keyref="attributes-common/attr-scope"
><xmlatt>scope</xmlatt></xref>, <xref keyref="attributes-common/attr-format"
><xmlatt>format</xmlatt></xref>, and the attributes defined below.</p>
<p id="attr-exception">For this element, the <xmlatt>toc</xmlatt> attribute has a default
<p id="attr-exception" outputclass="attr-exception">For this element, the <xmlatt>toc</xmlatt> attribute has a default
value of <keyword>no</keyword>.</p>
<dl>
<dlentry>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/schemeref.dita
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
conkeyref="reuse-attributes/ref-linkatts"/>, <xref
keyref="attributes-common/attr-keys"><xmlatt>keys</xmlatt></xref>, and <xref
keyref="attributes-common/attr-keyref"><xmlatt>keyref</xmlatt></xref>.</p>
<p id="attr-exception">For this element:<ul id="ul_pz3_w3r_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element:<ul id="ul_pz3_w3r_ppb">
<li>The <xmlatt>format</xmlatt> attribute has a default value of
<keyword>ditamap</keyword>.</li>
<li>The <xmlatt>type</xmlatt> attribute has a default value of
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/searchtitle.dita
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<title>Attributes</title>
<p>The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/> and <xref
keyref="attributes-common/attr-title-role"><xmlatt>title-role</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<p id="attr-exception" outputclass="attr-exception">For this element, <xmlatt>title-role</xmlatt> has a default value of
<keyword>search</keyword>.</p>
</section>
<example id="example" otherprops="examples"><title>Examples</title>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/sort-as.dita
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<p id="only-universal">The following attributes are available on this element: <ph conkeyref="reuse-attributes/ref-universalatts"/>, <xref keyref="attributes-common/attr-name"
><xmlatt>name</xmlatt></xref>, and <xref keyref="attributes-common/attr-value"
><xmlatt>value</xmlatt></xref>.</p>
<p id="attr-exception">For this element,<ul id="ul_g3c_412_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element,<ul id="ul_g3c_412_ppb">
<li>The <xmlatt>name</xmlatt> attribute has a default value of
<keyword>sort-as</keyword>.</li>
<li>The <xmlatt>value</xmlatt> attribute specifies a text to combine with the base sort
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/source.dita
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
conkeyref="reuse-attributes/ref-universalatts"/>, <ph
conkeyref="reuse-attributes/ref-linkatts"/>, and <xref keyref="attributes-common/attr-keyref"
><xmlatt>keyref</xmlatt></xref>.</p>
<p id="attr-exception">For this element, <xmlatt>href</xmlatt> provides a reference to a
<p id="attr-exception" outputclass="attr-exception">For this element, <xmlatt>href</xmlatt> provides a reference to a
resource from which the topic is derived.</p>
<!--<dl><dlentry id="href"><dt id="attr-href"><xmlatt>href</xmlatt></dt><dd>Provides a reference to a resource from which the present resource is derived. See <xref keyref="attributes-href"/> for detailed information on supported values and processing implications. </dd></dlentry></dl>-->
</section>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/subjectHead.dita
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
><xmlatt>toc</xmlatt></xref>, <xref keyref="attributes-common/attr-collection-type"
><xmlatt>collection-type</xmlatt></xref>, and <xref
keyref="attributes-common/attr-linking"><xmlatt>linking</xmlatt></xref>. </p>
<p id="attr-exception">For this element:<ul id="ul_pz3_w3r_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element:<ul id="ul_pz3_w3r_ppb">
<li>The <xmlatt>collection-type</xmlatt> attribute has an expected processing default
value of <keyword>unordered</keyword>, although this value is not defaulted in the
grammar files. This element limits the available values for
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/subjectScheme.dita
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
><xmlatt>type</xmlatt></xref>, <xref keyref="attributes-common/attr-scope"
><xmlatt>scope</xmlatt></xref>, <xref keyref="attributes-common/attr-format"
><xmlatt>format</xmlatt></xref>, and the attribute defined below.</p>
<p id="attr-exception">For this element:<ul id="ul_nwz_4kr_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element:<ul id="ul_nwz_4kr_ppb">
<li>The <xmlatt>processing-role</xmlatt> attribute has a default value of
<keyword>resource-only</keyword>.</li>
<li>The <xmlatt>toc</xmlatt> attribute has a default value of <keyword>no</keyword>.</li>
Expand Down
2 changes: 1 addition & 1 deletion specification/langRef/base/subjectref.dita
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
keyref="attributes-common/attr-processing-role"
><xmlatt>processing-role</xmlatt></xref> and <xref
keyref="attributes-common/attr-toc"><xmlatt>toc</xmlatt></xref>.</p>
<p id="attr-exception">For this element:<ul id="ul_nwz_4kr_ppb">
<p id="attr-exception" outputclass="attr-exception">For this element:<ul id="ul_nwz_4kr_ppb">
<li>The <xmlatt>processing-role</xmlatt> attribute has a default value of
<keyword>resource-only</keyword>.</li>
<li>The <xmlatt>toc</xmlatt> attribute has a default value of <keyword>no</keyword>.</li>
Expand Down
Loading

0 comments on commit bf1524f

Please sign in to comment.