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

Changeset 1729

Show
Ignore:
Timestamp:
10/01/06 23:08:27 (2 years ago)
Author:
nahi
Message:

added 'abstract' attribute support. closes #195

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/wsdl/xmlSchema/complexType.rb

    r1727 r1729  
    2323  attr_accessor :final 
    2424  attr_accessor :mixed 
     25  attr_accessor :abstract 
    2526 
    2627  def initialize(name = nil) 
     
    3233    @final = nil 
    3334    @mixed = false 
     35    @abstract = false 
    3436    @attributes = XSD::NamedElements.new 
    3537  end 
     
    132134  def parse_attr(attr, value) 
    133135    case attr 
     136    when AbstractAttrName 
     137      @abstract = (value.source == 'true') 
    134138    when FinalAttrName 
    135139      @final = value.source 
  • trunk/lib/wsdl/xmlSchema/data.rb

    r1718 r1729  
    6262UniqueName = XSD::QName.new(XSD::Namespace, 'unique') 
    6363 
     64AbstractAttrName = XSD::QName.new(nil, 'abstract') 
    6465AttributeFormDefaultAttrName = XSD::QName.new(nil, 'attributeFormDefault') 
    6566BaseAttrName = XSD::QName.new(nil, 'base')