Re: [XPath] References to modules in XPath spec

Hello Michael,
I have accepted and implemented these helpful editorial suggestions.
Thanks!
--Don Chamberlin




"Michael Kay" <mhk@mhk.me.uk> 
Sent by: public-qt-comments-request@w3.org
02/07/2004 12:40 AM

To
<public-qt-comments@w3.org>
cc

Subject
[XPath] References to modules in XPath spec







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 Monday, 9 February 2004 12:55:29 UTC