From 958e5046361e0d0218fefcc833b119ada568b9ae Mon Sep 17 00:00:00 2001 From: Robert D Anderson Date: Tue, 1 Jun 2021 17:39:38 -0500 Subject: [PATCH] Remove link atts from lq, remove longquoteref #397 --- doctypes/dtd/base/commonElements.ent | 2 - doctypes/dtd/base/commonElements.mod | 51 +------------ doctypes/rng/base/commonElementsMod.rng | 75 ------------------- .../base/processing-keyref-for-text.dita | 10 ++- .../langRef/base/harvested-content-base.dita | 7 +- specification/langRef/base/lq.dita | 13 +--- specification/langRef/body-elements.ditamap | 1 - .../key-definitions-body-elements.ditamap | 1 - .../quick-reference/base-elements-a-to-z.dita | 1 - 9 files changed, 12 insertions(+), 149 deletions(-) diff --git a/doctypes/dtd/base/commonElements.ent b/doctypes/dtd/base/commonElements.ent index 1dd61f49..4e7cd706 100644 --- a/doctypes/dtd/base/commonElements.ent +++ b/doctypes/dtd/base/commonElements.ent @@ -42,8 +42,6 @@ - diff --git a/doctypes/dtd/base/commonElements.mod b/doctypes/dtd/base/commonElements.mod index 0896fa69..b8887fdb 100644 --- a/doctypes/dtd/base/commonElements.mod +++ b/doctypes/dtd/base/commonElements.mod @@ -307,7 +307,6 @@ %basic.ph; | %data.elements.incl; | %foreign.unknown.incl; | - %longquoteref; | %txt.incl;" > - - - - - - - - diff --git a/doctypes/rng/base/commonElementsMod.rng b/doctypes/rng/base/commonElementsMod.rng index 36fa3c46..1205eb06 100644 --- a/doctypes/rng/base/commonElementsMod.rng +++ b/doctypes/rng/base/commonElementsMod.rng @@ -144,9 +144,6 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN" - - - @@ -662,7 +659,6 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN" - @@ -1332,50 +1328,6 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN" - -
- LONG NAME: Long quote reference - - - - - - - - - - - - - - - - - - - - external - local - peer - -dita-use-conref-target - - - - - - - - The <longquoteref> element provides a reference to the source of a long quote. The long quote (<lq>) element itself allows an href attribute to specify the source of - a quote, but it does not allow other standard linking attributes such as keyref, scope, and format. The <longquoteref> element should be used for references that make use of these - attributes. - - - - - - - -
LONG NAME: Long Quote (Excerpt) @@ -1385,31 +1337,9 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN" - - - - - - - - - - - - - external - local - peer - -dita-use-conref-target - - - - - - @@ -3402,11 +3332,6 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN" - - - - - diff --git a/specification/archSpec/base/processing-keyref-for-text.dita b/specification/archSpec/base/processing-keyref-for-text.dita index bf525be2..a0aff661 100644 --- a/specification/archSpec/base/processing-keyref-for-text.dita +++ b/specification/archSpec/base/processing-keyref-for-text.dita @@ -44,14 +44,18 @@ topicmeta, the content of the shortdesc element also provides effective content for a desc sub-element. -
  • The longdescref and - longquoteref elements are empty elements +
  • The longdescref element is an empty element with no effective content. Key definitions do not set effective text for - these elements.
  • + this element.
  • The param element does not have any effective content, so key definitions do not result in effective content for param elements.
  • + we've allowed @keyref on + <lq> for a while now. Based on discussion at today's TC (1 june 2021) + this would be interpreted as the title of the source of the quotation - thus + the removal of href/reftitle. OK to update accordingly, or does that need + further confirmation from TC? diff --git a/specification/langRef/base/harvested-content-base.dita b/specification/langRef/base/harvested-content-base.dita index 3f034047..d8a0ae82 100644 --- a/specification/langRef/base/harvested-content-base.dita +++ b/specification/langRef/base/harvested-content-base.dita @@ -114,10 +114,9 @@ this is unwieldy, the data element can go in the
    <xmlelement>lq</xmlelement> -

    Authors can use the href and keyref attributes to specify - the source of the quotation. Use the quote element q for short - quotations that are intended to be rendered inline. The longquoteref - element is available for more complex references to the source of a quotation.

    +

    Authors can use the keyref attribute to specify the source of the quotation. + Use the quote element q for short quotations that are intended to + be rendered inline.

    <xmlelement>map</xmlelement> diff --git a/specification/langRef/base/lq.dita b/specification/langRef/base/lq.dita index 2897149d..0892d6d6 100644 --- a/specification/langRef/base/lq.dita +++ b/specification/langRef/base/lq.dita @@ -14,18 +14,7 @@
    Attributes - longquoteref was - added to help with translation, moving translatable titles out of @reftitle. Not sure why we - still have reftitle and all the linking attributes on lq itself, when that's what - longquoteref is for? -

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

    -
    - -
    reftitle
    -
    The title of the document or topic that is quoted.
    -
    -
    +

    Example diff --git a/specification/langRef/body-elements.ditamap b/specification/langRef/body-elements.ditamap index 59d8dbb6..473934a7 100644 --- a/specification/langRef/body-elements.ditamap +++ b/specification/langRef/body-elements.ditamap @@ -26,7 +26,6 @@ - diff --git a/specification/langRef/key-definitions-body-elements.ditamap b/specification/langRef/key-definitions-body-elements.ditamap index bf9efc3e..96ee692d 100644 --- a/specification/langRef/key-definitions-body-elements.ditamap +++ b/specification/langRef/key-definitions-body-elements.ditamap @@ -25,7 +25,6 @@ - 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 5085913a..dd0d1b8f 100644 --- a/specification/langRef/quick-reference/base-elements-a-to-z.dita +++ b/specification/langRef/quick-reference/base-elements-a-to-z.dita @@ -90,7 +90,6 @@ -