[Bug 4321] [XQuery] Importing the types used in the signature of an imported function

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4321


chamberl@almaden.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from chamberl@almaden.ibm.com  2007-02-27 18:36 -------
Michael,
Thanks for your comment, which was considered by the Query Working Group on
Feb. 27, 2007. The working group agreed to replace the paragraph quoted in your
comment with the following new paragraph:

It is a static error [err:XQST0036] to import a module if the in-scope schema
definitions of the importing module fail to include any of the following:
(a) A schema type definition for each type-name that appears in a variable or
function declaration in the imported module, if that variable or function is
referenced in the importing module.
(b) An element declaration for each element-name EN that appears in a
SequenceType of form schema-element(EN) in a variable or function declaration
in the imported module, if that variable or function is referenced in the
importing module.
(c) An attribute declaration for each attribute-name AN that appears in a
SequenceType of form schema-attribute(AN) in a variable or function declaration
in the imported module, if that variable or function is referenced in the
importing module.

Corresponding changes will be made in the definition of error XQST0036.

If you agree that these changes resolve your issue, please change the status of
this comment to Closed.

Regards,
Don Chamberlin (for the Query Working Group)

Received on Tuesday, 27 February 2007 18:36:33 UTC