[Bug 13300] [UPD] revalidation and in-scope schemas

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

Jonathan Robie <jonathan.robie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Jonathan Robie <jonathan.robie@gmail.com> 2011-07-19 17:50:15 UTC ---
(In reply to comment #0)
> XQuery specifies that the In-scope element declarations and In-scope attribute
> declarations are module scoped.
> Validation (with the 'validate' expression) validates with respect to the
> in-scope schema definitions, so the effect of a validate expression may be
> different depending on the module in which it is located.
> In its description of upd:revalidate, XQuery Update talks about revalidation,
> but doesn't specify which schema definitions this is in respect to.

It's pretty clear about which schema definitions are in scope. These are the
ones that will be used.

> In the case of an updating query, I presume that this is the schema 
> definitions of the main module.

These are only in scope in the main module.

> In the case of a transform expression, I presume that this is the schema
> definitions of the module in which the transform expression is situated.

For any expression, I presume they are the schema definitions that are in
scope, and those are the schema definitions of the module in which the
expression is found.

Jonathan

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 19 July 2011 17:50:17 UTC