From: "James Britt (rubydev)" Date: 2001-11-23T01:04:19+09:00 Subject: [ruby-talk:26149] RE: Conformance Test of XML Parsers in Ruby(20011122) > -----Original Message----- > From: TAKAHASHI Masayoshi [mailto:maki@inac.co.jp] > Sent: Thursday, November 22, 2001 3:48 AM > To: ruby-talk ML > Subject: [ruby-talk:26126] Conformance Test of XML Parsers in > Ruby(20011122) > Importance: High > > > Hi all, > > I tried to test conformace of XML parsers in Ruby, using > XML 1.0 Test suite by OASIS. > > I don't think 99% conformant parser is useless because it's just not 100%, > but I think all valid documents should be parsed without raising > error (is it reasonable criterion?). The XML spec says that an XML parser must raise an error and stop processing when it encounters an error. The intent was to promote "one true XML", and avoid having people end up with markup that works in one parser but not another (as happens with HTML in browsers). > > Of cource, they are artificial documents for test. So, we do not meet > parse error so often. One person's artificial is another person's reality. :) Thanks for he great work! James > > More detail and test script: > http://www.jin.gr.jp/~nahi/RWiki/?cmd=view;name=xmlconftest > > > Regards, > > TAKAHASHI Masayoshi (maki@inac.co.jp) > >