Firefox’ XSLT bug

Inane — When you parse XML with HTML data in it, say:

<some-tag>
<![CDATA[
  <a href="http://www.visitask.com">
    Project management resources
  </a>
  ]]>
</some-tag>

And then apply a style akin to:

<xsl:value-of
  select="."
  disable-output-escaping="yes"
  />

Then you expect a link, i.e. Project management resources. This is standard W3C recommendation and best I know is it works in every browser that supports XSLT. Except for Mozilla.

Mozilla won’t let you embed chunks of non-valid HTML data in XML as CDATA because it is slow to parse a document twice before rendering it; and don’t expect Mozilla to do this in the future, because the devs know better than you do.

Comments on Firefox’ XSLT bug