Skip to content

Commit

Permalink
oasis-tcs#397 remove obsolete object attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
robander committed Mar 16, 2022
1 parent 4c4f597 commit cc63fb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 72 deletions.
8 changes: 3 additions & 5 deletions specification/archSpec/base/processing-keyref-for-links.dita
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
contain a <xmlelement>topicmeta</xmlelement> subelement, empty elements that refer to
the key (such as <codeph>&lt;link keyref="a"/></codeph> or <codeph>&lt;xref keyref="a"
href="fallback.dita"/></codeph>) are <ph >ignored</ph>.</p>
<p>The <xmlelement>object</xmlelement> element has additional key-referencing attributes
(<xmlatt>archivekeyrefs</xmlatt>, <xmlatt>classidkeyref</xmlatt>,
<xmlatt>codebasekeyref</xmlatt>, and <xmlatt>datakeyref</xmlatt>). Key names in
these attributes are resolved using the same processing that is described for the normal
<xmlatt>keyref</xmlatt> attribute.</p>
<p>The <xmlelement>object</xmlelement> element has an additional key-referencing attribute
named <xmlatt>datakeyref</xmlatt>. Key names in this attribute are resolved using the
same processing that is described for the normal <xmlatt>keyref</xmlatt> attribute.</p>
<!--<p>For key references to undefined keys, if there is an @href attribute
on the referencing element, the value of the @href attribute
is used as the reference and the key reference element is
Expand Down
69 changes: 3 additions & 66 deletions specification/langRef/base/object.dita
Original file line number Diff line number Diff line change
Expand Up @@ -37,63 +37,12 @@
conkeyref="reuse-attributes/ref-universalatts"/> and the attributes defined
below.</p>
<dl>
<dlentry id="archive">
<dt id="attr-archive"><xmlatt>archive</xmlatt></dt>
<dd>Specifies a space-separated list of URIs indicating resources needed by the
object. These resources might include those URIs specified by the
<xmlatt>classid</xmlatt> and <xmlatt>data</xmlatt> attributes.
Preloading these resources usually results in faster load times for objects.
The URIs in the list should be relative to the URI specified in the
<xmlatt>codebase</xmlatt> attribute.</dd>
</dlentry>
<dlentry id="archivekeyrefs">
<dt id="attr-archivekeyrefs"><xmlatt>archivekeyrefs</xmlatt></dt>
<dd>Specifies key references to one or more archives, as for
<xmlatt>archive</xmlatt>. The value is a space-separated list of key
names. Each resolvable key reference is treated as a URI as though it had
been specified on the <xmlatt>archive</xmlatt> attribute. When specified,
and at least one key name is resolvable, the key-provided archive list is
used. If <xmlatt>archive</xmlatt> is specified, it is used as a fallback
when no key names can be resolved to a URI. </dd>
</dlentry>
<dlentry id="classid">
<dt id="attr-classid"><xmlatt>classid</xmlatt></dt>
<dd>Contains a URI that specifies the location of an object&apos;s
implementation. It can be used together with the <xmlatt>data</xmlatt>
attribute which is specified relative to the value of the
<xmlatt>codebase</xmlatt> attribute. </dd>
</dlentry>
<dlentry id="classidkeyref">
<dt id="attr-classidkeyref"><xmlatt>classidkeyref</xmlatt></dt>
<dd>Specifies a key reference to the URI that specifies the location of an
object's implementation, as for <xmlatt>classid</xmlatt>. When specified,
and the key is resolvable, the key-provided class ID URI is used. If
<xmlatt>classid</xmlatt> is specified, it is used as a fallback when the
key cannot be resolved to a URI. </dd>
</dlentry>
<dlentry id="codebase">
<dt id="attr-codebase"><xmlatt>codebase</xmlatt></dt>
<dd>Specifies the base URI used for resolving the relative URI values given for
<xmlatt>classid</xmlatt>, <xmlatt>data</xmlatt>, and
<xmlatt>archive</xmlatt> attributes. If <xmlatt>codebase</xmlatt> is not
set, the default is the base URI of the current element.</dd>
</dlentry>
<dlentry id="codebasekeyref">
<dt id="attr-codebasekeyref"><xmlatt>codebasekeyref</xmlatt></dt>
<dd>Specifies a key reference to the base URI used for resolving other
attributes, as for <xmlatt>codebase</xmlatt>. When specified, and the key is
resolvable, the key-provided code base URI is used. If
<xmlatt>codebase</xmlatt> is specified, it is used as a fallback if the
key cannot be resolved to a URI. If no URI results from processing
<xmlatt>codebasekeyref</xmlatt> and <xmlatt>codebase</xmlatt> is not
specified, the default is the base URL of the current element.</dd>
</dlentry>
<dlentry id="data">
<dt id="attr-data"><xmlatt>data</xmlatt></dt>
<dd>Contains a reference to the location of an object&apos;s data. If this
attribute is a relative URL, it is specified relative to the value of the
<xmlatt>codebase</xmlatt> attribute. If this attribute is set, the
<xmlatt>type</xmlatt> attribute should also be set.</dd>
attribute is a relative URL, it is specified relative to the document
containing the <xmlelement>object</xmlelement> element. If this attribute is
set, the <xmlatt>type</xmlatt> attribute should also be set.</dd>
</dlentry>
<dlentry id="datakeyref">
<!-- KJE: Modified to be parallel to the desciption of @datakeyref in the audio and video topics-->
Expand All @@ -104,14 +53,6 @@
<xmlatt>data</xmlatt> is specified, it is used as a fallback when the
key cannot be resolved to a resource.</dd>
</dlentry>
<dlentry id="declare">
<dt id="attr-declare"><xmlatt>declare</xmlatt></dt>
<dd>Specifies whether the current object definition is only a declaration. When
this attribute is set to "declare", the current object definition is a
declaration only. The object must be instantiated by a later nested object
definition referring to this declaration. The only allowable value is
"declare".</dd>
</dlentry>
<dlentry conkeyref="reuse-attributes/image-height" id="height">
<dt/>
<dd/>
Expand All @@ -120,10 +61,6 @@
<dt id="attr-name"><xmlatt>name</xmlatt></dt>
<dd>Defines a unique name for the object.</dd>
</dlentry>
<dlentry id="standby">
<dt id="attr-standby"><xmlatt>standby</xmlatt></dt>
<dd>Contains a message to be displayed while an object is loading.</dd>
</dlentry>
<dlentry id="tabindex">
<dt id="attr-tabindex"><xmlatt>tabindex</xmlatt></dt>
<dd>Specifies the position of the object in tabbing order.</dd>
Expand Down
2 changes: 1 addition & 1 deletion specification/non-normative/elementsMerged.dita
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ for this?</draft-comment>-->
<stentry>block</stentry>
<stentry>block</stentry>
<stentry>yes</stentry>
<stentry><xmlatt>standby</xmlatt></stentry>
<stentry/>
</strow>
<strow>
<stentry><xmlelement>ol</xmlelement></stentry>
Expand Down

0 comments on commit cc63fb7

Please sign in to comment.