From: TAKAHASHI Masayoshi Date: 2002-03-21T01:35:59+09:00 Subject: Re: Q: Xmlparser and DTDs Hello, Ville Mattila wrote: > I asked this before but I didn't get any answers. So i'll ask again > Now with example. The versions are > > ruby 1.6.5 > xmlparser 0.6.1 > expat 1.95.2 > > The below example should generate error, because there is #REQUIRED in dtd, > and not to happily print Unfortunately, XMLParser(expat) is not validation parser. You cannot validate XML documents with it. Wai-Sun Chia wrote a binding to libxml(XML library for Gnome), but it's not finished yet. http://www.rubycolor.org/arc/redist/ Regards, TAKAHASHI 'Maki' Masayoshi E-mail: maki@rubycolor.org