W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2004

Action item on lexical space of type anyURI

From: <noah_mendelsohn@us.ibm.com>
Date: Tue, 18 May 2004 10:20:59 -0400
To: xml-dist-app@w3.org
Message-ID: <OF4EABD43F.61E4FF87-ON85256E98.004E3ACE@lotus.com>

Although I don't see it listed in the action item list, I had from several
weeks ago an action item to see whether we were at risk of loosing
information about the lexical space of anyURI as we moved from making our
XOP schema normative to non-normative.  I note that the proposed
recommendation version of Schema Datatypes says of this type [1]:

"The ·lexical space· of anyURI is finite-length character sequences which,
when the algorithm defined in Section 5.4 of [XML Linking Language] is
applied to them, result in strings which are legal URIs according to [RFC
2396], as amended by [RFC 2732].

Note:  Spaces are, in principle, allowed in the ·lexical space· of anyURI,
however, their use is highly discouraged (unless they are encoded by %20)."

Our current editors copy of XOP says:

<current>
"Its [normalized value] MUST be a representation of a URI (see [RFC 2396])
referencing the part of the package containing the data logically included
by the [owner element] (i.e., the xop:Include element information item).
Editorial note: HR
XML Schema data type xs:anyURI defines an escaping mechanism for characters
disallowed in URI references. Do we want to use it? Moreover xs:anyURI
definition refers to RFC 2396, as we do, and to RFC 2732 that defines a
format for IPv6 addresses in URIs. Do we want to add RFC 2732?  "
</current>

I suggest we change this to:

<proposed>
"Its [normalized value] MUST be a representation of a URI (see [RFC 2396])
referencing the part of the package containing the data logically included
by the [owner element] (i.e., the xop:Include element information item).
>The [normalized value] must be a valid lexical form of the XML Schema
anyURI datatype (ref to XML Schema Datatypes#anyURI).<
</proposed>

In other words, while we do not provide a normative schema or require
validation for the overall XOP envelope, we I propose that we do continue
to appeal to XML schema datatypes for the definition of URIs.

I believe this fulfills the action that was assigned me.  Apologies for the
long delay.

Noah

[1] http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#anyURI

--------------------------------------
Noah Mendelsohn
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------
Received on Tuesday, 18 May 2004 10:21:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:18 GMT