Firefox' XSLT bug

2

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.

Filed under Blog by on #

Comments on Firefox' XSLT bug

July 30th, 2005

Ben @ 7:13 pm #

So, the developer wants to follow the standard, but no the will of people.

July 31st, 2005

Ben @ 4:37 am #

D: please visit this page for solution.