#981 XHTML meta element added in wrong namespace

v9.2
closed
5
2012-10-08
2009-09-15
Michael Kay
No

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.

Discussion

  • Michael Kay

    Michael Kay - 2009-10-22

    Fixed in 9.2.0.3

     
  • Michael Kay

    Michael Kay - 2009-10-29

    Also fixed in 9.1.0.8

     

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks