[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: xml-dev@l...
  • Date: Mon, 8 May 2017 16:26:54 -0400

On 5/8/2017 2:51 PM, Peter Flynn wrote:
I am clearly missing something here: why are people using #fragment
identifiers in XML (non-XHTML/HTML5) documents (eg TEI)?
I'm not sure it's as complete an answer as you want, but you certainly can use fragment identifiers in XML.

"The syntax and semantics of fragment identifiers for the XML media
types defined in this specification are based on the
[XPointerFramework] W3C Recommendation. It allows simple names and
more complex constructions based on named schemes. When the syntax
of a fragment identifier part of any URI or Internationalized
Resource Identifier (IRI) ([RFC3987]) with a retrieved media type
governed by this specification conforms to the syntax specified in
[XPointerFramework], conforming applications MUST interpret such
fragment identifiers as designating whatever is specified by the
[XPointerFramework] together with any other specifications governing
the XPointer schemes used in those identifiers that the applications
support. Conforming applications MUST support the 'element' scheme
as defined in [XPointerElement], but need not support other schemes."

https://tools.ietf.org/html/rfc7303#section-5

Section 6 even mentions the dreaded xml:base:

https://tools.ietf.org/html/rfc7303#section-6

Thanks,
Simon


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member