This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Defect 3720 (CDATA ignored) and Scala 2.8.1 final

2 replies
Jem
Joined: 2009-04-16,
User offline. Last seen 2 years 24 weeks ago.
Hi
I need to use the fix for defect 3720, i.e. XMLPull ignores CDATA elements.
Given that the defect was fixed some 3 to 4 months ago (https://lampsvn.epfl.ch/trac/scala/ticket/3720), and Scala 2.8.1.final was released in early November, why doesn't 2.8.1 contain the fix? http://www.scala-lang.org/node/8102
Is there a release with this fix included? I'm not sure how to find out from the ticket page.
ThanksJeremy
Alec Zorab
Joined: 2010-05-18,
User offline. Last seen 42 years 45 weeks ago.
Re: Defect 3720 (CDATA ignored) and Scala 2.8.1 final

2.8.1 is binary compatible with 2.8.0, so (as I understand it) the
guys have been having to manually port fixes across from trunk. I'm
guessing that you'll see the fix for this in 2.9

On Sat, Dec 4, 2010 at 5:47 PM, Jeremy Mawson wrote:
> Hi
> I need to use the fix for defect 3720, i.e. XMLPull ignores CDATA elements.
> Given that the defect was fixed some 3 to 4 months ago
> (https://lampsvn.epfl.ch/trac/scala/ticket/3720), and Scala 2.8.1.final was
> released in early November, why doesn't 2.8.1 contain the
> fix? http://www.scala-lang.org/node/8102
> Is there a release with this fix included? I'm not sure how to find out from
> the ticket page.
> Thanks
> Jeremy
>

huynhjl
Joined: 2009-10-27,
User offline. Last seen 42 years 45 weeks ago.
Re: Defect 3720 (CDATA ignored) and Scala 2.8.1 final

The 2.9 nightly contains this fix.

If you need to use the fix urgently and you're able to modify your scala
installations and it's not too impractical, you should be able to compile the
patched MarkupParser with the 2.8.1 compiler, jar the class into a file name
that will come before scala-library.jar (like 00MarkupParser.jar) and drop that
into $SCALA_HOME/lib. You won't need to download the whole source, just that
file.

Jean-Laurent

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland