[Libreoffice] [PATCH] fdo#40373 - export xhtml parse error
christophe.strobbe at esat.kuleuven.be
Wed Sep 28 07:14:24 PDT 2011
At 15:50 28-9-2011, Regina Henschel wrote:
>The patch fixes the following error:
>When you export a document via File->Export->XHTML it generates an
>invalid file, because the lang attribute gets a wrong namespace.
>How to proof it:
>Export any file and make sure, that the file extension is xhtml.
>Upload the file to http://validator.w3.org/#validate-by-upload to
>validate it. Do this with the current version to see the error. Do
>the same with a patched version, to see that it is OK then.
Please don't throw away the lang attribute by replacing it with
xml:lang, just add xml:lang. Language information is important for
text-to-speech software, and last time I checked, screen readers only
supported lang, not xml:lang.
What is really needed to solve the namespace issue is replacing
>I do not know, whether this will fix bug fdo#40373; but it fixes,
>that the currently exported file is invalid, as described above.
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
tel: +32 16 32 85 51
Open source for accessibility: results from the AEGIS project
Please don't invite me to Facebook, Quechup or other "social
More information about the LibreOffice