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

[XPath] References to modules in XPath spec

From: Michael Kay <mhk@mhk.me.uk>
Date: Sat, 7 Feb 2004 08:40:15 -0000
To: <public-qt-comments@w3.org>
Message-ID: <004501c3ed56$07287c50$6401a8c0@pcukmka>

XPath section 2.4.4 contains the sentence:

An unknown type might be encountered, for example, if the module in
which the given type is encountered does not import the schema in which
the given type is defined.

Modules, of course, are an XQuery concept. I suggest changing the
example to:

An unknown type might be encountered if a source document has been
validated using a schema that was not imported into the static context.

(It might also be useful to add this example to the XQuery spec).

There is another reference to modules in 3.1.5:

If the function call takes place in a module other than the module in
which the function is defined, this rule must be satisfied in both the
module where the function is called and the module where the function is
defined (the test is repeated because the two modules may have different
in-scope schema definitions.) 

I suggest deleting this sentence from the XPath version of the document.


Michael Kay
Received on Saturday, 7 February 2004 03:40:14 UTC

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