Exception: Saxon::QName::PrefixedStringWithoutNSURIError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Saxon::QName::PrefixedStringWithoutNSURIError
- Defined in:
- lib/saxon/qname.rb
Instance Method Summary collapse
-
#initialize(qname_string, prefix) ⇒ PrefixedStringWithoutNSURIError
constructor
A new instance of PrefixedStringWithoutNSURIError.
- #to_s ⇒ Object
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_s ⇒ Object
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 |