[
Lists Home |
Date Index |
Thread Index
]
On Sat, Feb 02, 2002 at 10:56:56AM -0000, Christian Nentwich wrote:
>
> > #/root/foo[1]/bar[2]
> > Just doesn't work as is because it doesn't allow for namespace support
> > and hence out of scope (or you put schemes in to allow binding namespace
> > prefixes to URI, possible but I don't remember anybody suggesting it).
>
> If it's a standalone XPointer, the application can make an API call to pass
> a namespace context. If it's used as part of XLink, you can define the
> namespaces to be those that are in scope for the link node. Both are
> unambiguous, no need to pollute the XPointer expression. (XPath applications
> also get the namespace prefixes from elsewhere, not from inside the path)
Except XPointer is expected to be part of URIs and as such MUST
be context independant. The W3C director sent XPointer back to Working Draft
status one year ago due to this problem, not be considered acceptable either.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
|