class Sekken::XS::Extension
Public Instance Methods
collect_child_elements(memo = [])
click to toggle source
Calls superclass method
Sekken::XS::BaseType#collect_child_elements
# File lib/sekken/xs/types.rb, line 132 def collect_child_elements(memo = []) if @node['base'] local, nsid = @node['base'].split(':').reverse namespace = @node.namespaces["xmlns:#{nsid}"] if complex_type = @schemas.complex_type(namespace, local) memo += complex_type.elements # TODO: can we find a testcase for this? else #if simple_type = @schemas.simple_type(namespace, local) raise 'simple type extension?!' #memo << simple_type end end super end