https://bugs.freedesktop.org/show_bug.cgi?id=41395
Summary: Exported xhtml does not pass an xhtml validation
check.
Product: LibreOffice
Version: LibO 3.4.3 release
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Writer
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=51866)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51866)
Input file.
1. Open attached file.
2. Export as XHTML.
3. Validate using http://validator.w3.org/check .
A human readable version of the Gettysburg.html export was manipulated manually
until it did validate. The result is GettysburgFixed.html. The exported html
will validate if the "ns_1:lang" attribute is removed from the title and meta
tags.
% diff -b Gettysburg.html GettysburgFixed.html
7,8c7,8
< <title xmlns:ns_1="http://www.w3.org/XML/1998/namespace" ns_1:lang="en-US">-
no title specified</title>
< <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace" name="DCTERMS.title"
content="" ns_1:lang="en-US"/>
---
> <title xmlns:ns_1="http://www.w3.org/XML/1998/namespace">- no title
> specified</title>
> <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace" name="DCTERMS.title"
> content=""/>
15,16c15,16
< <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace"
name="DCTERMS.provenance" content="" ns_1:lang="en-US"/>
< <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace"
name="DCTERMS.subject" content="," ns_1:lang="en-US"/>
---
> <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace"
> name="DCTERMS.provenance" content=""/>
> <meta xmlns:ns_1="http://www.w3.org/XML/1998/namespace"
> name="DCTERMS.subject" content=","/>
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs