diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-30 14:25:21 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-30 14:25:21 +0000 |
| commit | d62f675f4991e49c386b6694615512541b312371 (patch) | |
| tree | 259426500bdeb962341e87f9c73e5416a075cfb2 /lib/soap/encodingstyle/soapHandler.rb | |
| parent | 6c7659d47dad8e9e589d6a289b18787f9300a0fc (diff) | |
| download | ruby-d62f675f4991e49c386b6694615512541b312371.tar.gz ruby-d62f675f4991e49c386b6694615512541b312371.tar.xz ruby-d62f675f4991e49c386b6694615512541b312371.zip | |
* lib/soap/generator.rb: better XML pretty printing.
* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
assignment in the element which has "encodingStyle" attribute, and add
necessary namespace assignment for "arrayType" attribute.
* test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process through CGI.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/soap/encodingstyle/soapHandler.rb')
| -rw-r--r-- | lib/soap/encodingstyle/soapHandler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/soap/encodingstyle/soapHandler.rb b/lib/soap/encodingstyle/soapHandler.rb index 85d8642b8..0c68810cc 100644 --- a/lib/soap/encodingstyle/soapHandler.rb +++ b/lib/soap/encodingstyle/soapHandler.rb @@ -293,7 +293,6 @@ private if !parent || parent.encodingstyle != EncodingNamespace if @generate_explicit_type SOAPGenerator.assign_ns(attrs, ns, EnvelopeNamespace) - SOAPGenerator.assign_ns(attrs, ns, EncodingNamespace) attrs[ns.name(AttrEncodingStyleName)] = EncodingNamespace end data.encodingstyle = EncodingNamespace @@ -309,6 +308,7 @@ private if data.arytype.namespace SOAPGenerator.assign_ns(attrs, ns, data.arytype.namespace) end + SOAPGenerator.assign_ns(attrs, ns, EncodingNamespace) attrs[ns.name(AttrArrayTypeName)] = ns.name(create_arytype(ns, data)) if data.type.name attrs[ns.name(XSD::AttrTypeName)] = ns.name(data.type) |
