Cascade xml.lang attribute in DITA Maps Manager

Are you missing a feature? Request its implementation here.
Frank Ralf
Posts: 489
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Cascade xml.lang attribute in DITA Maps Manager

Post by Frank Ralf »

Hello,

According to the DITA spec there is no cascading from map to topics:
The @xml:lang attribute can be specified on the <map> element. The @xml:lang attribute cascades within the map in the same way that it cascades within a topic. However, since the @xml:lang attribute is an inherent property of the XML document, the value of the @xml:lang attribute does not cascade from one map to another or from a map to a topic; the value of the @xml:lang attribute that is specified in a map does not override @xml:lang values that are specified in other maps or in topics.
Source: www.oxygenxml.com/dita/1.3/specs/archSpec/base/xmllang.html

However, as far as I can tell, the xml:lang attribute does cascade when transforming a DITA map with the DITA Open Toolkit. It would be nice if this would be reflected in Author mode as well. Example: Displaying German task labels if the document language is set to German on the top map <map xml:lang="de-DE">.

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com