[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: DITA 2.0 planning: What the deprecated query attribute means to future DITA
I am forking this particular concept from the "deprecated
elements" thread as a separate discussion that introduces a
principle for 2.0 consideration. The spec deprecates the @query attribute of topicref. In
practice, we've never developed best practices for it, hence it
has been regarded as baggage in the design, and I won't lay down
in the road over keeping it in that form. We need it, but it is in
the wrong place. We tend to have a deterministic focus on managing the artifacts
named by a topicrefs @href. In a sense, the controlling viewpoint
is "topicref as a CMS feature" to the exclusion of "topicref as a
pointer to a collection," which is much less deterministic from a
build point of view. To change viewpoints, think of the CMS as a browser's search bar
in which a search for all "things of a kind" (category, author,
substring, xpath part, etc.) results in an anonymous map of
endpoints. If we saved that result set, it would effectively
become a named map and a new managed resource in its own right. In
that sense, the query is essentially a mapref for a dynamic rather
than deterministic set of returned resources. So for DITA 2.0 I'd like to see a closer practical alignment with
the Web's RESTful addressing model in order to enable both build
(deterministic) and query-driven (non-deterministic) applications.
In principle, our designation of URI as the href's type should be
a good starting point. The missing piece is "how does a URI
path appear and behave if there is not a named resource at the
end of it?" The resolution of this principle fundamentally
drives all use of collections in Web addressing and processing. It
may profoundly affect the role of key definitions when the context
is a query rather than a named collection.
Don R. Day
Founding Chair, OASIS DITA Technical Committee (current version: DITA 1.3) LinkedIn: donrday Twitter: @donrday About.me: Don R. Day Skype: don.r.day
"Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?" --T.S. Eliot On 5/17/2016 9:37 AM, Kristen James
Eberlein wrote:
Also, are there elements like <topicsetref> that do not add value/are duplicates and should be removed?
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]