Re: Bug 1318

From: Steven Jenkins <steven.jenkins@...>
Date: 2004-04-23 14:08:07 UTC
List: ruby-core #2809
ts wrote:
>>>>>>"S" == Steven Jenkins <steven.jenkins@ieee.org> writes:
> S> http://www.ruby-lang.org/cgi-bin/ruby-bugs/incoming?id=1318
> 
>  Not really sure, but seems a problem with REXML. Add a character and it
>  will work
> 
>  Try it with
> 
> $testdata = %Q{ <calibration>
> <section name="parameters">
> <param name="barpress">760</param>
> <param name="hertz">50</param>
> </section>
> </calibration>
> }
> 
> 
>  see the ' ' after %Q{

Yes. I can make the problem go away in several ways, none of which 
really make sense. For example, removing either <param> line above will 
do it. Parsing a StringIO with the same data works fine. Very puzzling.

I guess I should report this on the REXML web site.

Steve

In This Thread