Exception: Saxon::XDM::AtomicValue::NotationCannotBeDirectlyCreated

Inherits:
StandardError
  • Object
show all
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

Instance Method Details

#to_sObject

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