ruby-cvs:20832
From: ser ruby-lang.org
Date: Tue, 2 Oct 2007 10:46:32 +0900 (JST)
Subject: [ruby-cvs:20832] Ruby:r13595 (trunk): r1366 bean: ser | 2007-10-01 21:24:33 -0400
ser 2007-10-02 10:46:32 +0900 (Tue, 02 Oct 2007)
New Revision: 13595
Modified directories:
trunk/lib/rexml/
Modified files:
trunk/lib/rexml/attribute.rb
trunk/lib/rexml/element.rb
trunk/lib/rexml/parsers/baseparser.rb
trunk/lib/rexml/parsers/treeparser.rb
Log:
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.
Modified: trunk/lib/rexml/
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/parsers/treeparser.rb?r1=13595&r2=13594
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/attribute.rb?r1=13595&r2=13594
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml?r1=13595&r2=13594
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/parsers/baseparser.rb?r1=13595&r2=13594
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/element.rb?r1=13595&r2=13594