From ac385f8c05aa2f9f8633eca46fb4cd915c2e9458 Mon Sep 17 00:00:00 2001 From: "Robert D. Anderson" Date: Tue, 11 Jun 2024 17:45:21 -0500 Subject: [PATCH] Remove state element from spec #922 --- ...ing-an-element-to-the-section-element.dita | 2 - specification/langRef/base/state.dita | 39 ------------------- .../containers/specialization-elements.dita | 4 +- ...efinitions-specialization-elements.ditamap | 1 - .../quick-reference/base-elements-a-to-z.dita | 1 - .../langRef/specialization-elements.ditamap | 1 - .../changes-1.3-to-2.0/removed-elements.dita | 12 ++++++ .../replaced-in-standard.dita | 15 ++++++- .../non-normative/elementsMerged.dita | 7 ---- 9 files changed, 26 insertions(+), 56 deletions(-) delete mode 100644 specification/langRef/base/state.dita diff --git a/specification/archSpec/base/adding-an-element-to-the-section-element.dita b/specification/archSpec/base/adding-an-element-to-the-section-element.dita index e6bee299..b883ddd5 100644 --- a/specification/archSpec/base/adding-an-element-to-the-section-element.dita +++ b/specification/archSpec/base/adding-an-element-to-the-section-element.dita @@ -99,7 +99,6 @@ <!ENTITY % text "text"> <!ENTITY % tm "tm"> <!ENTITY % xref "xref"> -<!ENTITY % state "state"> <!ENTITY % data "data"> <!ENTITY % foreign "foreign"> <!ENTITY % title "title"> @@ -137,7 +136,6 @@ %text; | %tm; | %xref; | - %state; | %data; | %foreign; | %title; | diff --git a/specification/langRef/base/state.dita b/specification/langRef/base/state.dita deleted file mode 100644 index 7efa8dbf..00000000 --- a/specification/langRef/base/state.dita +++ /dev/null @@ -1,39 +0,0 @@ - -<xmlelement>state</xmlelement>The state element represents a named - property that has a variable state value.specialization elementsstate -
- Usage information -

The state element is primarily intended - for use in specializations. It could be used to represent logic - circuit, chemical reaction, or airplane instrumentation states.

-
-
- Rendering expectations -

Rendering expectation for the state - element are entirely implementation-dependent.

-
-
- Attributes -

The following attributes are available on this element: and the attributes - defined below.

-
- -
name -
-
Specifies the name of the - property
-
- -
value -
-
Specifies the state of the - property
-
-
-
Example -

The following code sample shows how state - can be used to indicate a high value for a - device flow rate:

<note type="warning">If the rate of flow reaches "high" on your measuring device -(<state name="flowrate" value="high"/>), take quick action or you will -risk dangerous levels of exposure.</note>
\ No newline at end of file diff --git a/specification/langRef/containers/specialization-elements.dita b/specification/langRef/containers/specialization-elements.dita index 7684e75a..173c925d 100644 --- a/specification/langRef/containers/specialization-elements.dita +++ b/specification/langRef/containers/specialization-elements.dita @@ -15,9 +15,7 @@

There is little need to use these elements unless your content can take advantage of - the semantic distinction. For example, a discussion of signals on a gate of an - integrated logic circuit might use the state element to - represent either on or off conditions of that gate.

+ the semantic distinction.

diff --git a/specification/langRef/key-definitions-specialization-elements.ditamap b/specification/langRef/key-definitions-specialization-elements.ditamap index 3be3114c..70a95a78 100644 --- a/specification/langRef/key-definitions-specialization-elements.ditamap +++ b/specification/langRef/key-definitions-specialization-elements.ditamap @@ -5,5 +5,4 @@ - diff --git a/specification/langRef/quick-reference/base-elements-a-to-z.dita b/specification/langRef/quick-reference/base-elements-a-to-z.dita index 2fce141e..e5e9227b 100644 --- a/specification/langRef/quick-reference/base-elements-a-to-z.dita +++ b/specification/langRef/quick-reference/base-elements-a-to-z.dita @@ -132,7 +132,6 @@ - diff --git a/specification/langRef/specialization-elements.ditamap b/specification/langRef/specialization-elements.ditamap index 718a4591..bdb7d2b6 100644 --- a/specification/langRef/specialization-elements.ditamap +++ b/specification/langRef/specialization-elements.ditamap @@ -6,6 +6,5 @@ - diff --git a/specification/non-normative/changes-1.3-to-2.0/removed-elements.dita b/specification/non-normative/changes-1.3-to-2.0/removed-elements.dita index 8e8a5624..89455eef 100644 --- a/specification/non-normative/changes-1.3-to-2.0/removed-elements.dita +++ b/specification/non-normative/changes-1.3-to-2.0/removed-elements.dita @@ -18,7 +18,15 @@ boolean + Specialized data element if used for metadata, or + specialized ph or keyword if used + for document content + + state + Specialized data element if used for metadata, or + specialized ph or keyword if used + for document content data-about @@ -53,6 +61,10 @@ titlealt (alternative titles domain) + + unknown + foreign + diff --git a/specification/non-normative/changes-1.3-to-2.0/replaced-in-standard.dita b/specification/non-normative/changes-1.3-to-2.0/replaced-in-standard.dita index 9052d56f..cbaa5339 100644 --- a/specification/non-normative/changes-1.3-to-2.0/replaced-in-standard.dita +++ b/specification/non-normative/changes-1.3-to-2.0/replaced-in-standard.dita @@ -28,8 +28,15 @@ boolean - state value="yes|no" - + <data name="boolean" value="yes|no"> or + <ph outputclass="boolean">yes|no</ph> + + + state + <data name="state-name" value="state-value"> or + <ph + outputclass="state-name">state-value</ph> + index-sort-as sort-as @@ -53,6 +60,10 @@ domain. See for more information. + + unknown + foreign + diff --git a/specification/non-normative/elementsMerged.dita b/specification/non-normative/elementsMerged.dita index bcf851cb..2034918e 100644 --- a/specification/non-normative/elementsMerged.dita +++ b/specification/non-normative/elementsMerged.dita @@ -653,13 +653,6 @@ yes - - state - inline - yes - value can specify translatable - content. - stentry block