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.



25
26
27
# File 'lib/saxon/item_type.rb', line 25

def initialize(type_str)
  @type_str = type_str
end

Instance Method Details

#to_sObject



29
30
31
# File 'lib/saxon/item_type.rb', line 29

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