Nikolay Rastegaev wrote: > Do you have plan to implement propagation of meta attribute from topic > prolog to topic elements: > > Expected behavior: > > 1) Authoring: > .... > <prolog> > <metadata> > <data audience="Man" otherprops="fr" platform="Linux"/> > </metadata> > </prolog> > ...
Why <data audience="Man" otherprops="fr" platform="Linux"/>? What is the meaning/usage of the <data> element? What is the meaning/usage of the otherprops attribute? Why not <audience type="Man"/> and <prodinfo>...<platform>Linux</platform></prodinfo>? > 2) When processing every element in topic body will have audience > attribute with "Man" value. > > Do I correct undestand that behavior mentioned above is described in standard: > "Conditional processing attributes > > For a topic or topicref, the audience, platform, and product metadata > can be expressed with attributes on the topic or topicref element or > with elements within the topic prolog or topicmeta element. While the > metadata elements are more expressive, the meaning of the values is > the same, and can be used in coordination: for example, the prolog > elements can fully define the audiences for a topic, and then metadata > attributes can be used within the content to identify parts that apply > to only some of those audiences." > > ? > You *probably* correctly understood the *general* *idea* of the spec. The problem lies in the words: probably, general, idea. When some areas of a spec are not crystal clear, lack examples, have no conformance tests and there are no third-party books about the spec, you simply cannot expect the implementor (XMLmind) to be fully compliant with this spec. Now you can say: the DITA Open Toolkit works like this or works like that. The problem is that our work is not based on the behavior of the DITA OT. (By doing that, we would have reproduced its bugs as well as its correct behavior.) Our work is based on the spec and on common sense. I suggest that you post a message to a DITA group (we never do that because it is too time consuming) in order to confirm what you suspect. If you get this confirmation, then we'll try to adapt ditac.

