Point is: When a page is served as 'text/html', then Kompozer respects the 'prefix:' in the xml:lang="*" attribute. But whenever a page is served with the correct MIME type - application/xhtml+xml, then KompoZer "normalizes" xml:lang="*" into lang="*".
As a result, one will often get two lang="*" attributes in the same file (since e.g. XHTML1 files typically will have both attributes.)
Please make it so that KompoZer doesn't touch the prefix of the xml:lang attribute.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Additionally, after KompoZer has "normalized" xml:lang="*" to lang="*", the page is no longer well-formed, and thus Kompozer will refuse to open it again ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(Sorrry, hit "Submit" too early.)
Point is: When a page is served as 'text/html', then Kompozer respects the 'prefix:' in the xml:lang="*" attribute. But whenever a page is served with the correct MIME type - application/xhtml+xml, then KompoZer "normalizes" xml:lang="*" into lang="*".
As a result, one will often get two lang="*" attributes in the same file (since e.g. XHTML1 files typically will have both attributes.)
Please make it so that KompoZer doesn't touch the prefix of the xml:lang attribute.
Additionally, after KompoZer has "normalized" xml:lang="*" to lang="*", the page is no longer well-formed, and thus Kompozer will refuse to open it again ...