From: Aaron Patterson Date: 2010-07-17T10:15:14+09:00 Subject: Re: Hpricot test for equivalence of two xml segments? --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 17, 2010 at 09:03:21AM +0900, Xeno Campanoli / Eskimo North and= Gmail wrote: >=20 > >>The only thing I am concerned about is permutations of attributes inside > >>the tags. Everything else I'm seeing is regular. Is there something w= here > >>I can parse all the tags in a segment and tell if they are equivalent a= nd > >>just have the attributes in different orders? I'm not even concerned a= bout > >>different tag forms. We don't see that. A typical example is: > >> > >><
  • 3D"altMy Tex= t
  • > >>>
  • 3D"altMy Text<= /li> > >> > >>I need to have something that can help me judge such things as equivale= nt. > >>Again, I NEVER see tag permutations, but just attribute permutations. > >> >=20 > I believe you. Nokogirl wouldn't install though...yes, and nor did Lorax= =2E.. Do you mind emailing our list with the problems? We do our best to make sure that nokogiri works on most systems, so if you're having trouble we'd love to hear about it: http://groups.google.com/group/nokogiri-talk > Looks like there's an install site, but I hesitate to use something > this outside the mainstream on a project like this. I don't want to > impose needless maintenance problems on my environment. I'm not sure that nokogiri is outside the mainstream. Take a look at our gem downlods vs the hpricot gem downloads: http://rubygems.org/gems/nokogiri http://rubygems.org/gems/hpricot Or the frequency of commits: http://github.com/tenderlove/nokogiri/commits/master http://github.com/hpricot/hpricot/commits/master Or the mailing list activity: http://groups.google.com/group/nokogiri-talk http://librelist.com/browser/hpricot/ But "mainstream" is a judgement is for you to make! :-) --=20 Aaron Patterson http://tenderlovemaking.com/ --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEbBAEBAgAGBQJMQQQcAAoJEJUxcLy0/6/Gd0oH+OSrwNgXcGHXFcGUhGOZypcN OsreYeccze61hjV4rgk3FseIj4K9zGldeQ8qyoc5U5tsc2MBuqvdLDReBNCJVIi5 YtL18R4uLZKsRITc0WUrCXMVi1Os+agkoBqLBILIV3EwZqHvQ5GwUuMl7qZBOh95 YGejbA/afHZbfshRUGPNndAJd/Xl6Ot4Zv79FZ1PnauabSv8Lj+SVQOn9QXKxjrV vzjdMRPcuFL0d/3clEFh8Dirwop9YSVB1bMaB0kA1Fe+KemIXN0TjQqn6c8eWhwP 4xwLtOGvrcwF+qia2b28CozE65aE5Pxttfg9yvjuqMWE9t7yOH/n9AUdFnZJfQ== =ecfl -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--