Changeset 1904
- Timestamp:
- 07/22/07 18:31:26 (1 year ago)
- Files:
-
- trunk/lib/wsdl/xmlSchema/anyAttribute.rb (added)
- trunk/lib/wsdl/xmlSchema/complexType.rb (modified) (3 diffs)
- trunk/lib/wsdl/xmlSchema/data.rb (modified) (2 diffs)
- trunk/test/wsdl/any/expectedMappingRegistry.rb (added)
- trunk/test/wsdl/any/test_any.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/wsdl/xmlSchema/complexType.rb
r1824 r1904 24 24 attr_accessor :mixed 25 25 attr_accessor :abstract 26 attr_accessor :anyattribute 26 27 27 28 def initialize(name = nil) … … 35 36 @abstract = false 36 37 @attributes = XSD::NamedElements.new 38 @anyattribute = nil 37 39 end 38 40 … … 135 137 @attributes << o 136 138 o 139 when AnyAttributeName 140 @anyattribute = AnyAttribute.new 137 141 else 138 142 nil trunk/lib/wsdl/xmlSchema/data.rb
r1902 r1904 21 21 require 'wsdl/xmlSchema/simpleContent' 22 22 require 'wsdl/xmlSchema/any' 23 require 'wsdl/xmlSchema/anyAttribute' 23 24 require 'wsdl/xmlSchema/element' 24 25 require 'wsdl/xmlSchema/all' … … 50 51 AnnotationName = XSD::QName.new(XSD::Namespace, 'annotation') 51 52 AnyName = XSD::QName.new(XSD::Namespace, 'any') 53 AnyAttributeName = XSD::QName.new(XSD::Namespace, 'anyAttribute') 52 54 AttributeName = XSD::QName.new(XSD::Namespace, 'attribute') 53 55 ChoiceName = XSD::QName.new(XSD::Namespace, 'choice') trunk/test/wsdl/any/test_any.rb
r1828 r1904 133 133 end 134 134 compare("expectedEcho.rb", "echo.rb") 135 compare("expectedMappingRegistry.rb", "echoMappingRegistry.rb") 135 136 compare("expectedDriver.rb", "echoDriver.rb") 136 137 compare("expectedService.rb", "echo_service.rb")