Re: Agenda for XML Core WG telcon of 2006 January 18

Grosso, Paul a écrit :
> 2b.  IRI wording in xml:base et al.
> ...
> Richard urged Francois to define a term for the thing which, after
> escaping, becomes an IRI reference, e.g., the value of an href
> attribute.
> 
> ACTION to Francois:  Send another proposal to the XML Core list.

Here goes:

===========================================================
XML 1.0, 4.2.2 
[http://www.w3.org/TR/2004/REC-xml-20040204/#sec-external-ent]
XML 1.1, 4.2.2 
[http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-external-ent]
===========================================================

System identifiers (and other XML strings meant to be used as URI 
references)

[Definition: *XML resource identifiers* are XML string meant to be used 
as IRI references or URI references].  System identifers are XML 
resource identifiers.  An XML resource identifier may contain characters 
that, according to [IETF RFC 3897] and [IETF RFC 3986], must be escaped 
before the string can be used to retrieve the referenced resource. To 
convert an XML resource identifier to an IRI reference, the following 
characters must be escaped:

     * the control characters #x0 to #x1F and #x7F (most of which cannot 
appear in XML)
     * space #x20

       Note:

       Authors are advised to avoid unescaped spaces, as XML Schema has 
identified them as an interoperability risk.

     * the delimiters < #x3C, > #x3E and " #x22
     * the unwise characters { #x7B, } #x7D, | #x7C, \ #x5C, ^ #x5E and 
` #x60

These characters are escaped by applying to them steps 2.1 to 2.3 of 
Section 3.1 of [IETF RFC 3987].

If necessary for the implementation, an IRI reference is converted to a 
URI reference by following the prescriptions of Section 3.1 of [IETF RFC 
3987]. This conversion MUST be performed only when absolutely necessary 
and as late as possible in a processing chain. In particular, neither 
the process of converting a relative IRI to an absolute one nor the 
process of passing a IRI reference to a process or software component 
responsible for dereferencing it SHOULD trigger escaping.


===========================================================
XLink 1.1, 5.4 
[http://www.w3.org/TR/2005/WD-xlink11-20050707/#link-locators]
===========================================================

The value of the href attribute is an XML resource identifer as defined 
in [XML 1.1], which must be an IRI reference as defined in [IETF RFC 
3987] or must result in an IRI reference after the escaping procedure 
described in [XML 1.1] is applied.  If necessary for the implementation, 
the value may be further converted to a URI reference as described in 
[XML 1.1].


===========================================================
XML Base 1.0, 3 [http://www.w3.org/TR/2001/REC-xmlbase-20010627/#syntax]
===========================================================

The value of this attribute is an XML resource identifer as defined in 
[XML 1.1], which is interpreted as an IRI Reference as defined in RFC 
3987 [IETF RFC 3987], after the escaping procedure described in [XML 
1.1] is applied.  If necessary for the implementation, the value may be 
further converted to a URI reference as described in [XML 1.1].


===========================================================
XInclude 1.0, 4.1.1 [http://www.w3.org/TR/2004/REC-xinclude-20041220/#IRIs]
===========================================================

The value of this attribute is an XML resource identifer as defined in 
[XML 1.1], which is interpreted as an IRI Reference as defined in RFC 
3987 [IETF RFC 3987], after the escaping procedure described in [XML 
1.1] is applied.  If necessary for the implementation, the value may be 
further converted to a URI reference as described in [XML 1.1].

Received on Wednesday, 18 January 2006 16:51:42 UTC