# File lib/wsdl/xmlSchema/simpleType.rb, line 23 def check_lexical_format(value) if @restriction check_restriction(value) elsif @list # TODO: check elsif @union # TODO: check else raise ArgumentError.new("incomplete simpleType") end end