I am looking for a validating XML parser for ruby. I found that there
are libxml-ruby and ruby interface to expat available. Could someone
please tell me
which is the better in terms of performance and functionality? I am
looking for a parser that is stable and has good performance.
I am looking for a validating XML parser for ruby. I found that there
are libxml-ruby and ruby interface to expat available. Could someone
please tell me
which is the better in terms of performance and functionality? I am
looking for a parser that is stable and has good performance.
The OP said "validating XML parser". As I remember, REXML was not yet
that - when I last used it a while back. Also just checked the REXML
site that is linked to in the xml.com article URL you quote above;
unless REXML is now at some other site or the page is not updated, the
site seems to still show that it is not a validating parser.
On Jan 29, 5:55 pm, Lloyd Linklater <ll...@2live4.com> wrote:
Ravindra Kumar wrote:
> Hi,
> I am looking for a validating XML parser for ruby. I found that there
> are libxml-ruby and ruby interface to expat available. Could someone
> please tell me
> which is the better in terms of performance and functionality? I am
> looking for a parser that is stable and has good performance.
Don't use REXML if performance is important to you. libxml-ruby is 10-100 times faster than REXML.
-Bryan
···
On Jan 29, 2008, at 4:55 AM, Lloyd Linklater wrote:
Ravindra Kumar wrote:
Hi,
I am looking for a validating XML parser for ruby. I found that there
are libxml-ruby and ruby interface to expat available. Could someone
please tell me
which is the better in terms of performance and functionality? I am
looking for a parser that is stable and has good performance.
And it's validating like the OP asked for. Double win!!
--Jeremy
···
On Jan 29, 2008 6:55 PM, Bryan Duxbury <bryan@rapleaf.com> wrote:
Don't use REXML if performance is important to you. libxml-ruby is
10-100 times faster than REXML.
-Bryan
On Jan 29, 2008, at 4:55 AM, Lloyd Linklater wrote:
> Ravindra Kumar wrote:
>> Hi,
>>
>> I am looking for a validating XML parser for ruby. I found that there
>> are libxml-ruby and ruby interface to expat available. Could someone
>> please tell me
>> which is the better in terms of performance and functionality? I am
>> looking for a parser that is stable and has good performance.
>>
>> Regards,
>> Ravindra
>
> I searched the archives and found this:
> REXML: Processing XML in Ruby
>
> Maybe you just typed in the wrong thing to search for and missed this.
> --
> Posted via http://www.ruby-forum.com/\.
>
And it's validating like the OP asked for. Double win!!
Thank you all for your responses. Actually I am aware of libxml-ruby. I
just wanted to know if there is any better validating parser for ruby
other than libxml. It would be great if someone could give a brief
comparison otherwise libxml-ruby is good enough for my purpose.
···
--Jeremy
On Jan 29, 2008 6:55 PM, Bryan Duxbury <bryan@rapleaf.com> wrote: