The error code was printed in XML as:

  <code>err:XPST0003</code>

I think it's better to print it as:

  <code>http://www.w3.org/2005/xqt-errors#XPST0003</code>

(as suggested in <http://www.w3.org/TR/xquery-30/#id-identifying-errors>).
But is it better still to print it as:

  <code ns="http://www.w3.org/2005/xqt-errors"; prefix="err" 
localname="XPST0003"/>

?
-- 
https://code.launchpad.net/~zorba-coders/zorba/zorba-error_printer_in_api/+merge/134405
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to