Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1006

Show
Ignore:
Timestamp:
10/11/03 13:49:56 (5 years ago)
Author:
nahi
Message:

* Namespace of local scoped attribute (equals nil) must not be assigned.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/generator.rb

    r960 r1006  
    137137 
    138138  def self.assign_ns(attrs, ns, namespace, tag = nil) 
    139     unless ns.assigned?(namespace) 
     139    if namespace and !ns.assigned?(namespace) 
    140140      tag = ns.assign(namespace, tag) 
    141141      attrs['xmlns:' << tag] = namespace