#411 xml:lang should be propagated for all elements

output: HTML
XSL (399)
Shlomi Fish

At the moment, xml:lang is not propagated by the XHTML stylesheets for such elements as <legalnotice>, <para>, <orderedlist> or <filename>. It should be propagated by all elements, because otherwise it defeats the point of the xml:lang internationalisation.

What I mean is that if I do:

<legalnotice xml:lang="en">

I don't get xml:lang in the resultant XHTML.


  • Shlomi Fish

    Shlomi Fish - 2008-08-22
    • priority: 5 --> 7
  • Shlomi Fish

    Shlomi Fish - 2008-08-22

    Logged In: YES
    Originator: YES

    Any news or progress about this problem? I filed it over two months ago, and didn't receive a reply. The current behaviour stands against the XML standards, and I may even be able to accuse you of cultural imperialism by not support xml:lang for all elements.


    Shlomi Fish

  • Robert Stayton

    Robert Stayton - 2009-03-18
    • assigned_to: nobody --> bobstayton
  • Robert Stayton

    Robert Stayton - 2009-05-04
    • status: open --> pending-fixed
  • Robert Stayton

    Robert Stayton - 2009-05-04

    I completed the process of implementing lang and dir for most elements by using a new utility template 'common.html.attributes' that handles class, dir, lang, and title attributes for most elements.

  • Robert Stayton

    Robert Stayton - 2009-05-04

    A change for this issue has been added to the current codebase.
    Please test the change with the latest snapshot from:


  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks