diff options
| author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-12 12:08:52 +0000 |
|---|---|---|
| committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-12 12:08:52 +0000 |
| commit | 2f5bd9d6d7c0a1520713e63b941f7f7c7dfd340e (patch) | |
| tree | 8c1af789ecbdd10533ff280b1f686bd89df2999d /lib/rexml/element.rb | |
| parent | ab5c006a9943af0889e0e48be03f4932e70b28d8 (diff) | |
| download | ruby-2f5bd9d6d7c0a1520713e63b941f7f7c7dfd340e.tar.gz ruby-2f5bd9d6d7c0a1520713e63b941f7f7c7dfd340e.tar.xz ruby-2f5bd9d6d7c0a1520713e63b941f7f7c7dfd340e.zip | |
* Fixed the inheritance bug in the pull parser that James Britt found.
* Indentation changes, and changed some exceptions to runtime
exceptions.
* Backed out the patch that changed the versions
* Wasn't including Text class.
* Fixes issue:25 (Trac)
* Fixes ticket:3 (Issue38 in Roundup.)
* Numerous fixes in the XPath interpreter correcting, among other
things, ordering bugs and some incorrect behavior.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/element.rb')
| -rw-r--r-- | lib/rexml/element.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb index 7f578ecb3..e7754da2c 100644 --- a/lib/rexml/element.rb +++ b/lib/rexml/element.rb @@ -36,8 +36,6 @@ module REXML # If an Element, the object will be shallowly cloned; name, # attributes, and namespaces will be copied. Children will +not+ be # copied. - # If a Source, the source will be scanned and parsed for an Element, - # and all child elements will be recursively parsed as well. # parent:: # if supplied, must be a Parent, and will be used as # the parent of this object. @@ -223,7 +221,7 @@ module REXML # b.namespace("y") # -> '2' def namespace(prefix=nil) if prefix.nil? - prefix = self.prefix() + prefix = prefix() end if prefix == '' prefix = "xmlns" |
