Bug 75837 - XHTML Saving creates invalid id:s for headings
Summary: XHTML Saving creates invalid id:s for headings
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version: 4.2.2.1 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 12:35 UTC by Urmas
Modified: 2014-11-03 20:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Example of invald id (2.34 KB, application/xml)
2014-03-07 00:30 UTC, Urmas
Details

Description Urmas 2014-03-06 12:35:47 UTC
The id:s generated for headings in the exported XHTML file contain illegal characters, such as punctuation.
Comment 1 Joel Madero 2014-03-07 00:01:15 UTC
Hi Urmas - I know you're an experienced bug triager + bug reporter. Please provide all the details we usually require for bug reports. We'd hate to give the impression to new triagers that experienced bug reporters/triagers don't report bugs with reproducible steps, expected result, observed result and appropriate attachments.

Marking as NEEDINFO - UNCONFIRMED once requested information is provided.

Also if this is a new problem would be nice information
Comment 2 Urmas 2014-03-07 00:30:04 UTC
Created attachment 95272 [details]
Example of invald id
Comment 3 Andras Timar 2014-11-03 20:42:46 UTC
W3C Validator says that the attachment is invalid.
See http://validator.w3.org/check?uri=https%3A%2F%2Fbugs.freedesktop.org%2Fattachment.cgi%3Fid%3D95272&charset=%28detect+automatically%29&doctype=Inline&group=0&verbose=1&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices

Line 19, Column 36: character "“" is not allowed in the value of attribute "id"

But why? According to http://www.w3.org/TR/xml/#NT-Nmtoken the "“" character (#x201C) can be part of XML names.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.