[publican-list] [Bug 696397] use "xml:lang" instead of "lang" in DocBook 5
bugzilla at redhat.com
bugzilla at redhat.com
Thu Apr 14 02:51:02 UTC 2011
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=696397
--- Comment #2 from Ruediger Landmann <r.landmann at redhat.com> 2011-04-13 22:51:01 EDT ---
> If DocBook 5 has removed the lang attribute then we will lose the ability to
> selectively use content on a per language basis. Or at least we will need to
> try and use the condition tag for such use cases ... it will probably get ugly
> if books using lang this way also have other conditional logic.
Yeah, "lang" is definitely gone, and the advice from docbook.org is to use
xml:lang in its place:
"DocBook V5.0 is built on top of existing XML standards as much as possible,
for example the lang attribute is superseded by the standard xml:lang
attribute." -- http://www.docbook.org/docs/howto/
(Note also the two examples on that page, immediately before this in the text
-- Example 1. DocBook V4.5 document vs Example 2. DocBook V5.0 document)
DocBook 4 common attributes:
http://www.docbook.org/tdg/en/html/ref-elements.html#common.attributes
DocBook 5 common attributes:
http://www.docbook.org/tdg5/en/html/ref-elements.html#common.attributes
Probably not good news :/
Cheers
Rudi
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the publican-list
mailing list