From: Tobias Reif Date: 2001-11-21T20:22:27+09:00 Subject: [ruby-talk:26003] Re: REXML parser bug(?) I also might have found a bug in some REXM regex: -----------------------IRB-------- irb(main):001:0> require 'rexml/document' true irb(main):002:0> doc = REXML::Document.new '' [...] irb(main):003:0> doc.to_s "\n \n" irb(main):004:0> --------------------------- instead of "\n \n" http://www.w3.org/TR/REC-xml.html#NT-Name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* So element names including a '.' seem to be well-formed, and should be handled. Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.xhtml go_to('www.ruby-lang.org').get(ruby).play.create.have_fun http://www.pinkjuice.com/ruby/