xml:lang and lang not passed as properties in HTML

Issue #18 resolved
Former user created an issue

Original [issue 18](https://code.google.com/p/okapi/issues/detail?id=18) created by @ysavourel on 2009-03-10T02:50:10.000Z:

In the attached file the xml;lang and lang attributes in the <html> element are not passed as (modifiable) properties. Looking at the events with the debugger, the first document part resource has them in the skeleton, and no property is defined for them. This prevent the writer to modify the source language of the output file.

Comments (5)

  1. Former user Account Deleted
    • changed status to new

    Comment [3.](https://code.google.com/p/okapi/issues/detail?id=18#c3) originally posted by @ysavourel on 2009-03-15T23:24:36.000Z:

    It seems the lang in <span> does not get updated.

    String snippet = "<p lang='en'>Text <span lang='en'>text</span> text</p>"; assertEquals("<p lang='FR'>Text <span lang='FR'>text</span> text</p>", generateOutput(getEvents(snippet), snippet, "FR"));

    Fails with <span lang='en'> isntead of <span lang='FR'>

  2. Log in to comment