Bug 47380

Summary: Add option to output HTML-compatible XML
Product: ITS Tool Reporter: Shaun McCance <shaunm>
Component: generalAssignee: Shaun McCance <shaunm>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Shaun McCance 2012-03-15 16:22:04 UTC
Sometimes people have XHTML (or technically valid XML HTML but not really XHTML because it's not in a namespace) for the convenience of using XML tools, but they serve it as HTML for maximum compatibility. When itstool serves freshly translated XML/HTML/XHTML, it (or rather libxml2) minimizes empty elements, like this:

<div class="clear"/>

Correct XML. Danging opening tag in non-XML HTML.

We should be able to disable tag minimizations and do whatever other tricks make compatibility work better, while still creating XML.

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.