CARVIEW |
application/xml
,
text/xml-external-parsed-entity
,
or application/xml-external-parsed-entity
">
]>
&abstract;
This document is a
This document has been produced by the
Public comments on this Recommendation are welcome. Please send them to
the public mailing list
Information about implementations relevant to this
specification and the accompanying
There are patent disclosures and license commitments associated with
this Recommendation, which may be found on the
A list of current W3C Recommendations and other technical documents can
be found at
So out of date it's been dropped
&abstract;
The terms pointer part, scheme, XPointer processor, and namespace binding context are used in this specification as
The formal grammar for the &scheme-phrase; is given using simple Extended Backus-Naur Form (EBNF) notation, as described in the XML Recommendation
This specification normatively depends on the XPointer Framework
Conforming XPointer processors claiming to support the &scheme-phrase; must conform to the behavior defined in this specification and may conform to additional XPointer scheme specifications.
This section describes the syntax and semantics of the &scheme-phrase; and the behavior of XPointer processors with respect to this scheme.
The scheme name is &schemename;
. The scheme data syntax is as follows; if scheme data in a pointer part with the &scheme-phrase; does not conform to the syntax defined in this section the pointer part does not contribute an entry to the namespace binding context.
A pointer part with the &scheme-phrase; declares a namespace prefix (
For example, the following pointer part binds the
A pointer part that uses the &scheme-phrase; never identifies a subresource and thus the XPointer processor evaluation always continues with the next pointer part. However, evaluation of the xmlns
pointer part has a potential effect on pointer parts to its right.
The XPointer Framework on which this specification is based dictates that the initial namespace binding context prior to evaluation of the first pointer part consists of a single entry: the xml
prefix bound to the URI http:/www.w3.org/XML/1998/namespace
. Following the rules specified by the Framework, any attempt by a pointer part using the &scheme-phrase; to redefine the xml
prefix will result in no change to the namespace binding context. Any attempt to bind a prefix to the namespace name https://www.w3.org/XML/1998/namespace
will result in no change to the namespace binding context. Any attempt to define the xmlns
prefix will result in no change to the namespace binding context. Any attempt to bind a prefix to the namespace name https://www.w3.org/2000/xmlns/
will result in no change to the namespace binding context.
The prefix used in pointer parts need not match the prefix (or lack of a prefix) actually used in the XML resource into which the pointer part is addressing. For example, assume the following target XML resource:
Evaluation of a pointer part that refers to element https://example.org/customer
. The following two pointer parts allow the xpointer()