Forum: Ruby on Rails XML::Parser#string is deprecated : Getting too many warnings

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B8ac655007757eafd492a3c519f19d33?d=identicon&s=25 Manisha Tripathy (manisha)
on 2009-02-11 14:29
Hi ,

I am doing XML parsing to get data from xml documents inside a Rails
project. I get my job done but there are too many warnings in between.I
dont understand how can i avoid this.
the error warnings are :

warning: Passing no parameters to is deprecated.  Pass
an instance of XML::Parser::Context instead.
XML::Parser#string is deprecated.  Use XML::Parser.string instead

I am using Libxml for parsing.Can anyone please provide some help in
this regards?
This topic is locked and can not be replied to.