#981 XHTML meta element added in wrong namespace

Michael Kay

When serializing using method="xhtml", and where a non-empty prefix is used for elements in the XHTML namespace, Saxon adds a <meta> element as a child of the <xhtml:head> element that is in the default namespace rather than the XHTML namespace.

(Internally, Saxon actually generates a namecode in the correct namespace, using no prefix; but it fails to add a namespace binding that binds the empty prefix to the XHTML URI, so the effect is that in the serialized output, the <meta> element is in the default namespace.)

A patch (module net.sf.saxon.event.MetaTagAdjuster) is being committed to Subversion for the 9.1 and 9.2 branches.


  • Michael Kay

    Michael Kay - 2009-10-22

    Fixed in

  • Michael Kay

    Michael Kay - 2009-10-29

    Also fixed in


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks