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.

best,
-Rob

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:40 GMT