Exception: Saxon::XDM::AtomicValue::NotationCannotBeDirectlyCreated
- Inherits:
-
StandardError
- Object
- StandardError
- Saxon::XDM::AtomicValue::NotationCannotBeDirectlyCreated
- Defined in:
- lib/saxon/xdm/atomic_value.rb
Overview
xs:NOTATION is another QName-holding XDM type. Unlike xs:QName, there isn’t a way to create these outside of parsing an XML document within Saxon, so attempting to do so raises this error.
Instance Method Summary collapse
-
#to_s ⇒ Object
returns an error message.
Instance Method Details
#to_s ⇒ Object
returns an error message
34 35 36 |
# File 'lib/saxon/xdm/atomic_value.rb', line 34 def to_s "xs:NOTATION XDM::AtomicValues cannot be directly created outside of XML parsing." end |