Exception: Saxon::QName::PrefixedStringWithoutNSURIError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/saxon/qname.rb

Instance Method Summary collapse

Constructor Details

#initialize(qname_string, prefix) ⇒ PrefixedStringWithoutNSURIError

Returns a new instance of PrefixedStringWithoutNSURIError.



136
137
138
# File 'lib/saxon/qname.rb', line 136

def initialize(qname_string, prefix)
  @qname_string, @prefix = qname_string, prefix
end

Instance Method Details

#to_sObject



140
141
142
# File 'lib/saxon/qname.rb', line 140

def to_s
  "Namespace prefix ‘#{@prefix}’ for QName ‘#{@qname_string}’ is not bound to a URI"
end