[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [dita] @lockmeta on <topicmeta>
If I look at the DITA 1.3 specification, it looks like the <chapter> element, a specialization of <topicref> specifically intended to refer to topics (as well as maps) doesn't allow @lockmeta.
That seems like one can of worms; should specializations of topicref allow @lockmeta?
Another can of worms might be that the operation of the attribute seems precisely backwards; do the default thing and override the topic metadata unless the value for the lock attribute on the topic reference is "no". I'm sure I'm just not looking at it from
the correct perspective, but this seems actively confusing. (Or the original name of the attribute was @permit-overrides or similar.)
Yet another can of worms would be granularity; right now, @lockmeta is everything-or-nothing, but everything isn't defined. It's not difficult to imagine use cases for more granularity than that.
And the last obvious can of worms is the one noted as 2 originally; how does @lockmeta interact with other processing control attributes?
I think it might be simpler to view things as content (we expect to present this to the audience in the main flow of text), alternative text (this can be substituted for content), and metadata (we store this distinctly from the content and don't expect that
it will be rendered as part of the main flow of text). So <navtitle> , <searchtitle>, and <booktitlealt> (for example) are alternative text. Making a distinction about alternative text changes the question from "is <navtitle> metadata?" to "do we want a
switch to treat alternative text elements as metadata during processing?" which I think is easier to answer. (I'd answer yes.)
Graydon Saunders | Publishing Solutions Developer | Precision
Content
Unlock the Knowledge in Your Enterprise™
From: dita@lists.oasis-open.org <dita@lists.oasis-open.org> on behalf of Kristen James Eberlein <kris@eberleinconsulting.com>
Sent: 11 July 2019 14:18 To: DITA TC Subject: [dita] @lockmeta on <topicmeta> This is an attribute that we might want to consider for changes in DITA 2.0. Here what the DITA 1.3 spec says: @lockmeta
By default, metadata in the map supplements or overrides metadata that is specified at the topic level, unless the @lockmeta attribute of the <topicmeta> element
is set to "no". Allowable values are "yes", "no", and Using
the -dita-use-conref-target value.
A couple of things:
--
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Principal consultant, Eberlein Consulting www.eberleinconsulting.com +1 919 622-1501; kriseberlein (skype) |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]