Changeset 1903
- Timestamp:
- 07/22/07 16:59:11 (1 year ago)
- Files:
-
- trunk/lib/wsdl/xmlSchema/element.rb (modified) (3 diffs)
- trunk/lib/wsdl/xmlSchema/maxexclusive.rb (modified) (1 diff)
- trunk/lib/wsdl/xmlSchema/maxinclusive.rb (modified) (1 diff)
- trunk/lib/wsdl/xmlSchema/minexclusive.rb (modified) (1 diff)
- trunk/lib/wsdl/xmlSchema/mininclusive.rb (modified) (1 diff)
- trunk/lib/wsdl/xmlSchema/simpleRestriction.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/wsdl/xmlSchema/element.rb
r1865 r1903 53 53 attr_reader_ref :constraint 54 54 attr_reader_ref :nillable 55 attr_reader_ref :default 55 56 56 57 attr_accessor :ref … … 66 67 @minoccurs = 1 67 68 @nillable = nil 69 @default = nil 68 70 @ref = nil 69 71 @refelement = nil … … 149 151 when NillableAttrName 150 152 @nillable = (value.source == 'true') 153 when DefaultAttrName 154 @default = value.source 151 155 else 152 156 nil trunk/lib/wsdl/xmlSchema/maxexclusive.rb
r1902 r1903 28 28 parent.fixed[:maxexclusive] = to_boolean(value) 29 29 when ValueAttrName 30 parent.maxexclusive = to_int(value)30 parent.maxexclusive = value.source 31 31 end 32 32 end trunk/lib/wsdl/xmlSchema/maxinclusive.rb
r1902 r1903 28 28 parent.fixed[:maxinclusive] = to_boolean(value) 29 29 when ValueAttrName 30 parent.maxinclusive = to_int(value)30 parent.maxinclusive = value.source 31 31 end 32 32 end trunk/lib/wsdl/xmlSchema/minexclusive.rb
r1902 r1903 28 28 parent.fixed[:minexclusive] = to_boolean(value) 29 29 when ValueAttrName 30 parent.minexclusive = to_int(value)30 parent.minexclusive = value.source 31 31 end 32 32 end trunk/lib/wsdl/xmlSchema/mininclusive.rb
r1902 r1903 28 28 parent.fixed[:mininclusive] = to_boolean(value) 29 29 when ValueAttrName 30 parent.mininclusive = to_int(value)30 parent.mininclusive = value.source 31 31 end 32 32 end trunk/lib/wsdl/xmlSchema/simpleRestriction.rb
r1902 r1903 22 22 attr_accessor :pattern 23 23 attr_reader :enumeration 24 attr_ reader :whitespace25 attr_ reader :maxinclusive26 attr_ reader :maxexlusive27 attr_ reader :minexlusive28 attr_ reader :mininclusive29 attr_ reader :totaldigits30 attr_ reader :fractiondigits24 attr_accessor :whitespace 25 attr_accessor :maxinclusive 26 attr_accessor :maxexlusive 27 attr_accessor :minexlusive 28 attr_accessor :mininclusive 29 attr_accessor :totaldigits 30 attr_accessor :fractiondigits 31 31 attr_reader :fixed 32 32 … … 67 67 when MaxInclusiveName 68 68 MaxInclusive.new 69 when MaxEx lusiveName69 when MaxExclusiveName 70 70 MaxExlusive.new 71 when MinEx lusiveName71 when MinExclusiveName 72 72 MinExlusive.new 73 73 when MinInclusiveName 74 74 MinInclusive.new 75 75 when TotalDigitsName 76 TotalDigits Name.new76 TotalDigits.new 77 77 when FractionDigitsName 78 FractionDigits Name.new78 FractionDigits.new 79 79 end 80 80 end