[Bug 7239] [XQTS] New test for typed value of potentially namespace sensitive XDM nodes when copied with different in scope namespaces..

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


Michael Kay <mike@saxonica.com> changed:

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




--- Comment #1 from Michael Kay <mike@saxonica.com>  2009-08-09 13:51:51 ---
>Our XDM node representation consisted of storing the (static) schema type of a node (from validation, or copying) and the string value for simple typed elements.  The typed value of the node is computed from the string value with the schema type.  I am not sure if it was an intention of the specifications to allow this representation.

Yes it's definitely intended that that should be a possible implementation.
It's the approach Saxon uses (though Saxon 9.2 by default caches the typed
value as well, computing it lazily on first use).

>the XQST0086 error

You mean XQTY0086?

Isn't your suggested query illustrating exactly the situation that XQTY0086
describes? It seems to me this should be an error under all implementations.


-- 
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 Sunday, 9 August 2009 13:52:01 UTC