W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Re: key & keyref problem (invalid XPath)

From: Robert Koberg <rob@koberg.com>
Date: Wed, 29 Oct 2003 17:45:04 -0800
Message-Id: <AEFB4C3D-0A7A-11D8-B25C-00039354A8EC@koberg.com>
Cc: xmlschema-dev@w3.org
To: ht@cogsci.ed.ac.uk (Henry S. Thompson)

On Oct 29, 2003, at 3:42 AM, Henry S. Thompson wrote:

> It actually improves efficiency -- for the simplest approach to
> implementation, your version requires you to search _up_ the tree
> every time you think you have a hit.

This goes against everything I understand about XPath. I guess I am 
thinking about keys in an XSL way. Doing it the more efficient way is 
certainly easier (that's great and it seems like lazyiness on the 
schema writer's part not the schemas validator's). I just would not 
have thought of it as more efficient. Are you saying it is more 
efficient in terms of memory usage and/or speed or some other criteria?

I do believe you know best, but it just goes against the grain, to me.


p.s. I wish you would leave the context of the message you are replying 
Received on Wednesday, 29 October 2003 20:45:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC