2006/3/15, Stephane Bortzmeyer <[EMAIL PROTECTED]>:
> Just to be pedantic, URIs (RFC 3986) are in pure US-ASCII. IRIs (RFC
> 3987) are in Unicode and are accepted by Atom (so, Atom's URIs seem to
> be actually IRIs). The standard says:

Well, not really the "standard" actually, since the RNC is not normative...

>    # Unconstrained; it's not entirely clear how IRI fit into
>    # xsd:anyURI so let's not try to constrain it here
>    atomUri = text

RFC 3987 says (section 1.2 Applicability):
       For example, XML schema [XMLSchema] has an explicit type
       "anyURI" that includes IRIs and IRI references. Therefore, IRIs
       and IRI references can be in attributes and elements of type
       "anyURI".

So, actually, it seems that the Atom RNC could say "atomUri = xs:anyURI".

...or RFC 3987 is wrong... (I didn't check XMLSchema to try to figure
it out myself)

--
Thomas Broyer

Reply via email to