- From: Andrey Fomichev <fomichev@ispras.ru>
- Date: Thu, 18 Nov 2004 20:53:56 +0300
- To: "Michael Kay" <mhk@mhk.me.uk>, <public-qt-comments@w3.org>
- Cc: "'Kanad Dixit'" <kanad_dixit@persistent.co.in>, "Andrey Fomichev" <fomichev@ispras.ru>
> > 2. Now XQuery mentions "err" namespace prefix > > (http://www.w3.org/TR/xquery/#id-basics). But this prefix is > > not predefined like "xml", "xs", "xsi", "fn", "xdt" and > > "local". Why? > > Does that mean that a XQuery > > programmer has to define the "err" prefix himself to call fn:error > > function? > The "err" namespace is intended for system-detected errors, not for > user-detected errors. There's no ban on users calling error() with codes in > the "err" namespace, but it's not something I think we should encourage - > users should define their own error codes in their own namespace. Sounds reasonable. Thank you for the explanation. I think it will be good if the specification encourages users to define their own namespaces. Andrey
Received on Thursday, 18 November 2004 17:54:00 UTC