<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.scala.xml">
    <title>gmane.comp.lang.scala.xml</title>
    <link>http://blog.gmane.org/gmane.comp.lang.scala.xml</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/529"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/528"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/527"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/526"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/525"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/523"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/522"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/521"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/520"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/519"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/513"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/512"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/511"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/510"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.xml/509"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/529">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/529</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2013-05-21T13:32:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/528">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/528</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2013-04-21T13:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/527">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/527</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2013-03-21T14:32:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/526">
    <title>Re: Preserving CDATA again</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/526</link>
    <description>&lt;pre&gt;Hitting this issue as well. Trying ConstructingParser&amp;lt;http://www.scala-lang.org/api/current/index.html#scala.xml.parsing.ConstructingParser&amp;gt;and 
Unparsed&amp;lt;http://www.scala-lang.org/api/current/index.html#scala.xml.Unparsed&amp;gt;. 
Please do share your solution or workaround if you found one...

On Wednesday, February 6, 2013 9:32:24 PM UTC-5, workingDog wrote:

&lt;/pre&gt;</description>
    <dc:creator>Ankur Mathur</dc:creator>
    <dc:date>2013-03-01T21:14:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/525">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/525</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2013-02-21T14:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/523">
    <title>Preserving CDATA again</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/523</link>
    <description>&lt;pre&gt;  Are there any plans to fix the CDATA issue in the next version of scala. 
  If so when can we expect to be able to preserve the CDATA.
  As I understand "other" libraries do it, so I suppose it could also be 
done in scala xml.
  I'm currently stuck, as I developed my code for the last 2 months using 
scala xml, 
  to find right at the end the CDATA show stopper. I'm so happy.

&lt;/pre&gt;</description>
    <dc:creator>workingDog</dc:creator>
    <dc:date>2013-02-07T02:32:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/522">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/522</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2013-01-21T14:32:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/521">
    <title>Namespace binding (scope, xmlns) gets duplicated after subelement selection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/521</link>
    <description>&lt;pre&gt;Hi,

One of the scalaxb users recently reported that some scalaxb-generated code 
returns Node with xmlns attribute.
After digging in, I realized that the issue is coming from the XML library 
itself.

Here's a repro step:

Welcome to Scala version 2.10.0 (Java HotSpot(TM) 64-Bit Server VM, Java 
1.6.0_33).
Type in expressions to have them evaluated.
Type :help for more information.


scala&amp;gt; &amp;lt;x:foo xmlns:x="http://foo.com/"&amp;gt;&amp;lt;x:bar 
xmlns:x="http://bar.com/"&amp;gt;&amp;lt;x:baz/&amp;gt;&amp;lt;/x:bar&amp;gt;&amp;lt;/x:foo&amp;gt;
res0: scala.xml.Elem = &amp;lt;x:foo xmlns:x="http://foo.com/"&amp;gt;&amp;lt;x:bar 
xmlns:x="http://bar.com/"&amp;gt;&amp;lt;x:baz/&amp;gt;&amp;lt;/x:bar&amp;gt;&amp;lt;/x:foo&amp;gt;

scala&amp;gt; (res0 \ "bar").head
res1: scala.xml.Node = &amp;lt;x:bar xmlns:x="http://bar.com/" 
xmlns:x="http://foo.com/"&amp;gt;&amp;lt;x:baz/&amp;gt;&amp;lt;/x:bar&amp;gt;

scala&amp;gt; (res0 \ "bar").head.scope.getURI("x")
res2: String = http://bar.com/


In the above res1, namespace binding for prefix x is repeated twice. One 
for bar.com, and the other for foo.com, which came from the outer binding.
This is no longer a well-formed XML document.

Since the inner element's x binding overrides the outer binding, I think 
the output should be:

&amp;lt;x:bar xmlns:x="http://bar.com/"&amp;gt;&amp;lt;x:baz/&amp;gt;&amp;lt;/x:bar&amp;gt;


I am guessing that the current implementation is simply appending the outer 
namespace binding(s).
So it's able to return the correct namespace for getURL("x").
Either at the time subelement selection is done using \ method or at the 
time of toString duplicate namespace binding should be weeded out.
This would probably incur quadratic cost, but given the likely small size 
of namespace bindings I think it's better to clean it up as early as 
possible.

For illustration purpose I used "x" as prefix, but more often than not the 
duplicated namespace binding would be for the default binding.

-eugene

&lt;/pre&gt;</description>
    <dc:creator>Eugene Yokota</dc:creator>
    <dc:date>2013-01-02T02:29:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/520">
    <title>Re: [scala-user] Status of XML API in 2.10</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/520</link>
    <description>&lt;pre&gt;Any update to this issue?

On Wednesday, August 8, 2012 4:11:28 PM UTC-5, Chris wrote:
&lt;/pre&gt;</description>
    <dc:creator>Oscar Vargas Torres</dc:creator>
    <dc:date>2012-12-27T13:06:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/519">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/519</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2012-12-21T14:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/518">
    <title>Job Opportunity. Exciting fast growing start-up!</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/518</link>
    <description>&lt;pre&gt; 

Hi there, 


This is InGo's Project Manager, Luis Sanchis. InGo is a start -up in the 
social media/event space.  We are eager to find motivated and qualified 
programers. 

We are looking for an experienced Scala/Lift developer to join our team 
and help us design/build our product. 


Required skills 

- Scala/Lift

- Mongo-DB  

- HTML5/CSS3/jQuery 

- DataBinder Dispatch

- SBT

- Github- Twitter/Facebook/Linkedin API (desirable)

- Selenium  (desirable)

-  Amazon AWS/EC2 &amp;amp;  nginx (desirable)

Look forward to building a great long term partnership.


Remote and part time work available!


Thanks!
&lt;/pre&gt;</description>
    <dc:creator>Luis Sanchis</dc:creator>
    <dc:date>2012-12-06T15:48:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/517">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/517</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2012-11-21T14:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/516">
    <title>Re: scala.xml.parsing.ConstructingParser.fromSource OutOfMemoryError</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/516</link>
    <description>&lt;pre&gt;Try using Scales. I think I saw artifacts of Scales for 2.10.


On Fri, Nov 9, 2012 at 1:20 AM, Evan Bennett &amp;lt;evanbennett79-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:




&lt;/pre&gt;</description>
    <dc:creator>Daniel Sobral</dc:creator>
    <dc:date>2012-11-09T11:47:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/515">
    <title>scala.xml.parsing.ConstructingParser.fromSource OutOfMemoryError</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/515</link>
    <description>&lt;pre&gt;I am trying to write some code that will validate a String as valid XML and 
then convert it to some sort of XML object so that I can process the 
contents.

I have been trying to use the Scala XML classes (specifically 
scala.xml.XML.loadString(...)), but this appears to not necessarily provide 
the full input string when using the toString method as it removes comments 
and converts CDATA sections to text. Research on the Internet suggested 
using scala.xml.parsing.ConstructingParser.fromSource(...) (or using an XML 
library: Anti-XML; Scales Xml; a java XML library).

I chose to use the ConstructingParser as it seemed simplest. It works fine 
when I provide a valid XML string. When I provide an invalid XML string (in 
this case I have inserted random text as an attribute without a value), I 
except an Exception to be thrown, but it displays a message informing me of 
the invalid content and then processes for a while resulting in a 
'java.lang.OutOfMemoryError: Java heap space' error.

I cannot find anything in the documentation informing me that I must pass 
valid XML to this method, and I have not found any method to just validate 
the XML String.  Please let me know if I have missed something.

I am developing code that will not be deployed for a while, so I have been 
using Scala 2.10, developing in Eclipse Juno, with Scala IDE Milestones for 
2.10 (2.1.0.m2-2_10-201210191132-2563545 (which uses SBT 
0.13.0.SNAPSHOT-2_10-20121019-1331)) and Scala Worksheet Nightly Updates 
for Scala IDE 2.1 and Scala 2.10 (0.2.0.nightly-2_10-201211070431-be42feb). 
I start Eclipse with '-vmargs -Xss8m -Xms700m -Xmx2048m'.

I have also download Scala 2.10.0-RC1 and Scala 2.9.2, and run the code 
through the command line interpreter, with the same results.

This seems to me to be similar to an existing Scala Issue: 
OutOfMemoryErrors and inifinte loops in 
scala.xml.parsing.ConstructingParser - 
https://issues.scala-lang.org/browse/SI-4520

I have considered using Anti-XML, but have not found anywhere that tells me 
how to use it with Scala 2.10. (I have not looked very hard or tried 
anything myself, as I found the ConstructingParser.)

I have attached a Scala Worksheet file (temp.sc.txt as I could not upload 
with the .sc extension) with my test code, and text file with the command 
line interpreter session for Scala 2.10.0-RC1. If I remove 'strtdohso ' 
from the XML String everything works.

Any advice on what I should do would be greatly appreciated. e.g. What I am 
doing wrong; How to validate the XML before using ConstructingParser; 
Whether to submit a bug report; etc.

Thanks,
  Evan Bennett
object temp {
  val xmlString = """&amp;lt;foo&amp;gt;&amp;lt;!--      Comment --&amp;gt;&amp;lt;bar strtdohso attr="test"&amp;gt;&amp;lt;![CDATA[a &amp;gt; b]]&amp;gt;&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;b&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;c&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;"""

  val xmlSource = scala.io.Source.fromString(xmlString)

  val xmlParser = scala.xml.parsing.ConstructingParser.fromSource(xmlSource, true)

  val xmlDocument = xmlParser.document

  val xmlToString = xmlDocument.toString

  xmlString == xmlToString

  println(xmlToString)
}Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\development\scala-2.10.0-RC1\bin&amp;gt;scala
Welcome to Scala version 2.10.0-RC1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7
.0_09).
Type in expressions to have them evaluated.
Type :help for more information.

scala&amp;gt; val xmlString = """&amp;lt;foo&amp;gt;&amp;lt;!--      Comment --&amp;gt;&amp;lt;bar strtdohso attr="test"&amp;gt;&amp;lt;
![CDATA[a &amp;gt; b]]&amp;gt;&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;b&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;c&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;"""
xmlString: String = &amp;lt;foo&amp;gt;&amp;lt;!--      Comment --&amp;gt;&amp;lt;bar strtdohso attr="test"&amp;gt;&amp;lt;![CDAT
A[a &amp;gt; b]]&amp;gt;&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;b&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;c&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;

scala&amp;gt; val xmlSource = scala.io.Source.fromString(xmlString)
xmlSource: scala.io.Source = non-empty iterator

scala&amp;gt; val xmlParser = scala.xml.parsing.ConstructingParser.fromSource(xmlSource
, true)
xmlParser: scala.xml.parsing.ConstructingParser = scala.xml.parsing.Constructing
Parser&amp;lt; at &amp;gt;59c81460

scala&amp;gt; val xmlDocument = xmlParser.document
:1:42: '=' expected instead of 'a'ttr="test"&amp;gt;&amp;lt;![CDATA[a &amp;gt; b]]&amp;gt;&amp;lt;/bar&amp;gt;&amp;lt;bar&amp;gt;b&amp;lt;/bar&amp;gt;
&amp;lt;bar&amp;gt;c&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;                                         ^
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source
)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuilder.append(Unknown Source)
        at scala.collection.mutable.StringBuilder.append(StringBuilder.scala:264
)
        at scala.xml.parsing.MarkupParserCommon$class.xAttributeValue(MarkupPars
erCommon.scala:66)
        at scala.xml.parsing.ConstructingParser.xAttributeValue(ConstructingPars
er.scala:47)
        at scala.xml.parsing.MarkupParserCommon$class.xAttributeValue(MarkupPars
erCommon.scala:74)
        at scala.xml.parsing.ConstructingParser.xAttributeValue(ConstructingPars
er.scala:47)
        at scala.xml.parsing.MarkupParser$class.xAttributes(MarkupParser.scala:3
10)
        at scala.xml.parsing.ConstructingParser.xAttributes(ConstructingParser.s
cala:47)
        at scala.xml.parsing.MarkupParser$class.mkAttributes(MarkupParser.scala:
282)
        at scala.xml.parsing.ConstructingParser.mkAttributes(ConstructingParser.
scala:47)
        at scala.xml.parsing.ConstructingParser.mkAttributes(ConstructingParser.
scala:47)
        at scala.xml.parsing.MarkupParserCommon$class.xTag(MarkupParserCommon.sc
ala:44)
        at scala.xml.parsing.ConstructingParser.xTag(ConstructingParser.scala:47
)
        at scala.xml.parsing.MarkupParser$class.element1(MarkupParser.scala:553)

        at scala.xml.parsing.ConstructingParser.element1(ConstructingParser.scal
a:47)
        at scala.xml.parsing.MarkupParser$class.content1(MarkupParser.scala:418)

        at scala.xml.parsing.ConstructingParser.content1(ConstructingParser.scal
a:47)
        at scala.xml.parsing.MarkupParser$class.content(MarkupParser.scala:442)
        at scala.xml.parsing.ConstructingParser.content(ConstructingParser.scala
:47)
        at scala.xml.parsing.MarkupParser$class.element1(MarkupParser.scala:567)

        at scala.xml.parsing.ConstructingParser.element1(ConstructingParser.scal
a:47)
        at scala.xml.parsing.MarkupParser$class.content1(MarkupParser.scala:418)

        at scala.xml.parsing.ConstructingParser.content1(ConstructingParser.scal
a:47)
        at scala.xml.parsing.MarkupParser$class.document(MarkupParser.scala:239)

        at scala.xml.parsing.ConstructingParser.document(ConstructingParser.scal
a:47)
        at .&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:10)
        at .&amp;lt;clinit&amp;gt;(&amp;lt;console&amp;gt;)
        at .&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:7)


scala&amp;gt;
C:\development\scala-2.10.0-RC1\bin&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Evan Bennett</dc:creator>
    <dc:date>2012-11-09T03:20:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/514">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/514</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2012-10-21T13:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/513">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/513</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2012-09-21T13:32:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/512">
    <title>Scala Job Opportunity</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/512</link>
    <description>&lt;pre&gt;Our company is a start-up that has been developing in SCALA since its 
beginning. 
We are looking for an experienced Scala/Lift developer to join our team 
and help us design/build our product. 

Required skills 
- Scala/Lift
- Mongo-DB  
- HTML5/CSS3/jQuery 
- DataBinder Dispatch
- SBT
- Github- Twitter/Facebook/Linkedin API (desirable)
- Selenium  (desirable)
-  Amazon AWS/EC2 &amp;amp;  nginx (desirable)
Look forward to building a great long term partnership. Remote work 
available, and part-time also!!

Thanks! 
&lt;/pre&gt;</description>
    <dc:creator>Luis Sanchis</dc:creator>
    <dc:date>2012-09-06T15:18:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/511">
    <title>Mailing list reminder: Scala-xml</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/511</link>
    <description>&lt;pre&gt;Welcome to the "Scala-xml" mailing list.

This automatic reminder is sent once a month to the list,
to keep subscribers up-to-date with the mailing list services,
and to help keeping the list on topic.

-------------------------------------------------------------------

The "Scala-xml" mailing list:

This is the main interest list for coders interested in using
the XML manipulation capabilities of Scala.

Topics appropriate to this list include:

 * The Scala XML infrastructure, bugs, development
 * How to use the Scala XML features while writing code

Use this list to discuss any topic related to the Scala/XML
interoperability.

-------------------------------------------------------------------

Other information:

There are several Scala lists devoted to individual topics (and
more may be created in the future). For the full list, please
see: http://www.scala-lang.org/node/199

Try to avoid cross-posting whenever possible. If you can, select
the list that is closer to your topic and post in that list only.
In any case, never cross-post replies.

If you ever want to unsubscribe from this list, just visit this
page: http://groups.google.com/group/scala-xml/subscribe
or send an email to scala-xml+unsubscribe-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org

Thank you!
The Scala Team

&lt;/pre&gt;</description>
    <dc:creator>Scala Mailing Lists</dc:creator>
    <dc:date>2012-08-21T13:32:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/510">
    <title>Re: [scala-user] Status of XML API in 2.10</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/510</link>
    <description>&lt;pre&gt;
yes, primarily based on a pretty detailed email Daniel once sent to
the groups about the idea.

I decided to focus instead on the actual library features and
re-examine literals at a later stage.  The string interpolation also
gave another reprieve :-)  AFAICT it must be coupled with a tree
transforming macro to allow for compile time expansion.  That seems
like a lot of fun to play with ^_^


To be clear, I assume you mean this as an aside from literal support
(existing code using literals would also likely be heavily wed to
scala.xml types as well) right?

What would you like to see in terms of comparison/what did you have in mind?

&lt;/pre&gt;</description>
    <dc:creator>Chris Twiner</dc:creator>
    <dc:date>2012-08-08T21:11:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/509">
    <title>Re: [scala-user] Status of XML API in 2.10</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/509</link>
    <description>&lt;pre&gt;What, you expect me to *read* your emails?  :-)

It is nice to know that the compiler is sufficiently modular that we can
mess around in the XML stuff without worrying (much) about breaking the
other edge of the universe.

Daniel

On Wed, Aug 8, 2012 at 1:49 PM, Paul Phillips &amp;lt;paulp-v5eHc9rg9U0h9ZMKESR00Q&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Daniel Spiewak</dc:creator>
    <dc:date>2012-08-08T19:54:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.xml/508">
    <title>Re: [scala-user] Status of XML API in 2.10</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.xml/508</link>
    <description>&lt;pre&gt;The idea is not to remove XML support (I wish!).  Rather, the goal is to
make the compiler independent of the parser and lexer in scala.xml.  This
is a much harder task, in light of the way that the parser delegates things.

Daniel

On Wed, Aug 8, 2012 at 1:33 PM, Paul Phillips &amp;lt;paulp-v5eHc9rg9U0h9ZMKESR00Q&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Daniel Spiewak</dc:creator>
    <dc:date>2012-08-08T19:47:15</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.scala.xml">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.scala.xml</link>
  </textinput>
</rdf:RDF>
