Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: Re: XQuery Update and Node Identity
by Michael Kay
Defining identity well is something that causes philosophers to tear their hair out. Pragmatically, I think it's easy enough to say that a node acquires an identity when it's created and retains it for the duration of a query, and even that it retains identity through updates; the problem comes when the node leaves the comfortable closed world described by the query spec and acquires its own life in the outside world. The XQuery spec doesn't know anything about that world, so it can't say anything useful about it. But the only way of testing whether XQuery Update has preserved node identity is to conduct the tests in that outside world, using interfaces over which the XQuery spec has no control. The WG, incidentally, decided to keep the clause that says updates preserve identity. What isn't clear to me now is whether that is supposed to impose a requirement on the environment/API to provide a way of determining that identity has been preserved. In some environments, for example client/server models, that's pretty tough.
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com