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

Danny Sokolsky Danny.Sokolsky at marklogic.com
Mon Aug 20 10:01:45 PDT 2012

Hi Florent,

You should be able to find them here:


The namespace URI is:


The schemas for these are located in the <marklogic-dir>/Config directory (for example, /opt/MarkLogic/Config on linux).


-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Florent Georges
Sent: Monday, August 20, 2012 9:56 AM
To: MarkLogic General ML
Subject: [MarkLogic Dev General] Resolving error code QName in error:error


  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


Florent Georges
General mailing list
General at developer.marklogic.com

More information about the General mailing list