[ruby-cvs:52298] kou:r45153 (trunk): * lib/rexml/xmltokens.rb: Add missing non ASCII valid characters

kou at ruby-lang.org kou at ruby-lang.org
Sun Feb 23 18:01:33 JST 2014


kou	2014-02-23 18:01:32 +0900 (Sun, 23 Feb 2014)

  New Revision: 45153

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45153

  Log:
    * lib/rexml/xmltokens.rb: Add missing non ASCII valid characters
      to element name characters. Now, REXML name tokens exactly
      match "[5] Name" in the XML spec and "[4] NCName" in the
      Namespaces in XML spec. See comment about the details.
      [Bug #9539]  [ruby-core:60901]
      Reported by Mario Barcala. Thanks!!!
    
    * test/rexml/xpath/test_node.rb: Add tests for the above case.

  Added files:
    trunk/test/rexml/xpath/test_node.rb
  Modified files:
    trunk/ChangeLog
    trunk/lib/rexml/xmltokens.rb


More information about the ruby-cvs mailing list