W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[QT] CER-12 Default function namespace

From: Mary Holstege <mary@cerisent.com>
Date: Sun, 15 Feb 2004 11:35:32 -0800
Message-ID: <16431.51716.734000.181315@gargle.gargle.HOWL>
To: public-qt-comments@w3.org


Query Lang [2.1.1, C.1] Default function namespace

   "[Definition: Default function namespace. This is a namespace URI. This
   namespace URI is used for any unprefixed QName appearing as the function name
   in a function call. The initial default function namespace may be provided by
   the external environmentor by a declaration in the Prolog of a module.]"
                           
But the table in appendix C.1 says that the default function namespace is fn.

By 2.1.1, the spec does not make clear that the default function namespace is
"http://www.w3.org/2003/11/xpath-functions" and appears to license
implementations to not have a default function namespace at all, or have it
bound to something else by default. For portability and overall simplicity, the
default function namespace in a main module should simply be set.

Solution: Replace the definition in 2.1.1 quoted above to:
   "The initial default function namespace is set to
   'http://www.w3.org/2003/11/xpath-functions' but may be overridden by a
   declaration in the Prolog of a module." 
Received on Tuesday, 17 February 2004 11:11:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC