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

XML.save in Scala 2.8.0.r20671-b20100126103123

8 replies
upton9265
Joined: 2010-03-03,
User offline. Last seen 42 years 45 weeks ago.

Ok, I may be missing something simple. I can't find scala.xml.XML.save method
anywhere. Did it get moved somewhere else? I don't see it in the docs
either. Googled, looked on this list and StackOverflow. I can't be the only
one, so I am missing something simple. ;-)

thanx
steve

Sciss
Joined: 2008-12-17,
User offline. Last seen 28 weeks 5 days ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

it exists but is not in the docs, i filed a bug about the missing doc entry. currently, you will need to retrieve the signature directly from the scala-library source code....

Am 02.03.2010 um 23:48 schrieb upton9265:

>
> Ok, I may be missing something simple. I can't find scala.xml.XML.save method
> anywhere. Did it get moved somewhere else? I don't see it in the docs
> either. Googled, looked on this list and StackOverflow. I can't be the only
> one, so I am missing something simple. ;-)
>
> thanx
> steve

upton9265
Joined: 2010-03-03,
User offline. Last seen 42 years 45 weeks ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

Doh!! I didn't think to look in the source code. Yep, simple. ;-)

thanx, Sciss-3!
steve

Sciss-3 wrote:
>
> it exists but is not in the docs, i filed a bug about the missing doc
> entry. currently, you will need to retrieve the signature directly from
> the scala-library source code....
>
> Am 02.03.2010 um 23:48 schrieb upton9265:
>
>>
>> Ok, I may be missing something simple. I can't find scala.xml.XML.save
>> method
>> anywhere. Did it get moved somewhere else? I don't see it in the docs
>> either. Googled, looked on this list and StackOverflow. I can't be the
>> only
>> one, so I am missing something simple. ;-)
>>
>> thanx
>> steve

ymnk
Joined: 2008-08-20,
User offline. Last seen 4 years 7 weeks ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

Hi,

On Wed, Mar 3, 2010 at 8:54 AM, Sciss wrote:
> it exists but is not in the docs, i filed a bug about the missing doc entry.

Have you already filed a bug report entry for it?
It seems that bug has still existed.

I have checked the compiler source code,
and quick-hacked to list final methods(including scala.xml.XML#save)
in the scaladocs.

If you introduce me an entry, I'll submit a patch.

Until that bug is fixed, you may want to refer to
http://scaladocs.jcraft.com/2.8.0/

Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk

Sciss
Joined: 2008-12-17,
User offline. Last seen 28 weeks 5 days ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

it's still open : https://lampsvn.epfl.ch/trac/scala/ticket/3067

Am 06.04.2010 um 11:14 schrieb Atsuhiko Yamanaka:

> Hi,
>
> On Wed, Mar 3, 2010 at 8:54 AM, Sciss wrote:
>> it exists but is not in the docs, i filed a bug about the missing doc entry.
>
> Have you already filed a bug report entry for it?
> It seems that bug has still existed.
>
> I have checked the compiler source code,
> and quick-hacked to list final methods(including scala.xml.XML#save)
> in the scaladocs.
>
> If you introduce me an entry, I'll submit a patch.
>
> Until that bug is fixed, you may want to refer to
> http://scaladocs.jcraft.com/2.8.0/
>
>
> Sincerely,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
> +1-415-578-3454
> Skype callto://jcraft/
> Twitter: @ymnk

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

On Tue, Apr 06, 2010 at 07:14:52PM +0900, Atsuhiko Yamanaka wrote:
> If you introduce me an entry, I'll submit a patch.

Thanks for the offer, but I fixed it just now so no need.

ymnk
Joined: 2008-08-20,
User offline. Last seen 4 years 7 weeks ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

Hi,

On Wed, Apr 7, 2010 at 12:10 AM, Paul Phillips wrote:
> On Tue, Apr 06, 2010 at 07:14:52PM +0900, Atsuhiko Yamanaka wrote:
>> If you introduce me an entry, I'll submit a patch.
>
> Thanks for the offer, but I fixed it just now so no need.

That fix is not enough.
You will find the crash in generating scaladocs for scala-library.

Please refer to the attached diff.

Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

On Wed, Apr 07, 2010 at 12:37:55AM +0900, Atsuhiko Yamanaka wrote:
> That fix is not enough.
> You will find the crash in generating scaladocs for scala-library.

Interesting. I believe you, but I did build the scaladocs for
scala-library, that's how I knew it was fixed. But there's always room
for more exciting things to happen in a rebuild from scratch.

ymnk
Joined: 2008-08-20,
User offline. Last seen 4 years 7 weeks ago.
Re: XML.save in Scala 2.8.0.r20671-b20100126103123

Hi,

On Wed, Apr 7, 2010 at 12:42 AM, Paul Phillips wrote:
> On Wed, Apr 07, 2010 at 12:37:55AM +0900, Atsuhiko Yamanaka wrote:
>> That fix is not enough.
>> You will find the crash in generating scaladocs for scala-library.
>
> Interesting.  I believe you, but I did build the scaladocs for
> scala-library, that's how I knew it was fixed.  But there's always room
> for more exciting things to happen in a rebuild from scratch.

You are right.
I also can not reproduce the error I encountered anymore, on the
latest revision, r21356. That mus be my fault.
Anyway, thank you for taking your time for this issue,
and fixing it before 2.8.0 RC release.

Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk

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