W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2012

[Bug 20100] Add missing import schema statement

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Nov 2012 17:24:14 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20100-523-CD2tsKlW83@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20100

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
It should not be necessary to import the schema unless the query actually
references types in the schema by name.

We make this much clearer in XQuery 3.0: form 2.5.5 "An XQuery 3.0
implementation must be able to determine relationships among the types in type
annotations in an XDM instance and the types in the in-scope schema definitions
(ISSD)." In other words, if a type annotation is present at run-time in the
input document, that is supposed to tell the query processor all it needs to
know about the type at run-time. You only need an import schema if the query
processor needs compile-time information about types, and that's only needed if
the query contains expression that refer to types by name.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 November 2012 17:24:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:40 UTC