Exception: Saxon::ItemType::UnmappedXSDTypeNameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/saxon/item_type.rb

Overview

Error raise when an attempt to reify an xs:* type string is made, but the type string doesn’t match any of the built-in xs:* types

Instance Method Summary collapse

Constructor Details

#initialize(type_str) ⇒ UnmappedXSDTypeNameError

Returns a new instance of UnmappedXSDTypeNameError.



174
175
176
# File 'lib/saxon/item_type.rb', line 174

def initialize(type_str)
  @type_str = type_str
end

Instance Method Details

#to_sObject



178
179
180
# File 'lib/saxon/item_type.rb', line 178

def to_s
  "'#{@type_str}' is not recognised as an XSD built-in type"
end