From: Sean Russell Date: 2001-12-16T03:34:21+09:00 Subject: [ruby-talk:28633] Re: DTD Parsers in Ruby? David Alan Black wrote: > I'm not sure how the word "hack" got into the picture here, but > anyway.... A DTD is to the body of an SGML document (the "document Oh, I think because DTD syntax is similar to, but not compatible with, SGML. > Well, we'll have to agree to disagree about the "extra" part :-) And Ok, I accept that. My point is that if you implement an XML parser, this is all you need to *parse* XMLSchema. You have to write an additional parser if you want to parse DTD. Similarly, to support SGML you have to write code that parses SGML syntax and additional code specifically to handle DTD syntax. > that," I'd better do a little more work on my vaporware parser :-) That would be nifty-keen. I'm procrastinating working on my parser. If you keep me in the loop, I'll be happy to replace REXML's DTD parsing code with your code. -- --- SER