On Thursday April 27 2006 09:44, you wrote:
> > In theory, it should not be necessary to keep a file open after the
> > parser is
> > done with it, right?
>
> [...]
>
> For now, here's a workaround you might try:
>
> doc =
> File.open('/home/rosco/workspace/libxml/tests/model/rubynet.xml','r') do |f|
>    XML::Parser.io(f).parse
> end

Yes, that seems to help, thanks a lot :-)

-- 
Got Backup?

Attachment: pgp17RzfqaFYa.pgp
Description: PGP signature

_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to