1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

r1366@bean: ser | 2007-10-01 21:24:33 -0400

r1352@bean:  ser | 2007-07-29 11:33:07 -0400
  Implements namespace validation in the baseparser.  This means that, as per
  the XML namespace spec, unbound prefixes generate UndefinedNamespaceException.
  Also, as per the namespace spec, the 'xml' prefix must be bound to 
  http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. 
  in the XML.
 


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ser 2007-10-02 01:46:32 +00:00
parent c1b7ca8fec
commit 9acf1749fb
4 changed files with 56 additions and 17 deletions

View file

@ -50,7 +50,7 @@ module REXML
@element = first.element
end
elsif first.kind_of? String
@element = parent if parent.kind_of? Element
@element = parent
self.name = first
@normalized = second.to_s
else