Re: what about XPath? was: Can everyone be happy?

At 03:30 PM 2000-06-22 +0200, Julian Reschke wrote:
>
>Actually I think it's time to start a new thread to plan how XPath can be
>fixed. Something along the line of:
>
>- deprecate namespace-uri(), define that it either returns the literal or
>absolutized namespace name (this makes all known XPath implementations
>compliant, while retaining compatibility with existing stylesheets),
>
>- add two new XPath functions which are clearly defined to return the
>literal / absolutized names.
>

Seconded.  Something along those lines sounds like what we need in this
corner of the document web.

>- fix the namespace prefix matching -- of course this is the hardest part
>because it will either break the existing recommendation or the existing
>implementations.
>

Could this problem yield to yet another application of the same pattern you
used above?

Since currently practice =/= theory, deprecate; because the signification
is known to be inextricably linked to bad stuff.  In the replacement,
include both match capabilities, adequately distinguished.  Implementations
will for the immediate future make literal the default in any merged
(extended or overloaded) function.

Al

>Regards, Julian
> 

Received on Thursday, 22 June 2000 12:56:50 UTC