#111 HTML output with namespaces

v6.5.2
closed
Michael Kay
3
2012-10-08
2002-12-18
Michael Kay
No

The XSLT 1.0 specification says that when an element in
a namespace is serialized using the HTML output method,
it should be rendered the same way as when using the
XML output method.

However, when Saxon checks to see if the element is one
for which no closing tag is required in HTML (for
example <br> or <hr>) it checks only the displayed
element name, ignoring any URI. A <br> element in the
XHTML namespace will therefore be output as <br> rather
than <br/>.

Applies to all releases, up to and including 6.5.2 and
7.3.1.

Not yet fixed.

Discussion

  • Michael Kay
    Michael Kay
    2003-08-07

    Logged In: YES
    user_id=251681

    This bug is still present both in Saxon 6.5.2 and in Saxon
    7.6.5.

    Test case added: outp75

    Source code fixed for both branches (at some performance cost!)