[MarkLogic Dev General] Resolving error code QName in error:error

Florent Georges lists at fgeorges.org
Mon Aug 20 09:56:05 PDT 2012


  Hi,

  When catching an error with MarkLogic's try/catch extension, the
error description document (an element error:error) contains the error
code in error:name.  It contains it as a serialized QName in content.
But the corresponding prefix is not bound in that document (so we
can't use fn:resolve-QName(), which is the idiomatic way to do it).

  How can I find the namespace URI of the error code stored in
error:name?

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/


More information about the General mailing list