Re: FW: anyURI in W3C XML Schema 1.1

Hello Makoto, others,

I'm not sure I understand the problem here.
I'm looking at

Makoto, it seems that you may be referring to the following text:

 >>>> Value Space

The value space of anyURI is the set of finite-length sequences of zero 
or more characters (as defined in [XML]) that ·match· the Char 
production from [XML]. Lexical Mapping

The ·lexical space· of anyURI is the set of finite-length sequences of 
zero or more characters (as defined in [XML]) that ·match· the Char 
production from [XML].

This is indeed extremely open-ended. However, when reading all the text 
at the above location, there are careful notes that use wording such as 
"[RFC 3987] or its successor(s) in the IETF Standards Track". LEIRIs are 
also mentioned, but I'm happy the main focus is on IRIs, not LEIRIs, 
because LEIRIs are just about "We forgot to prohibit some things 
explicitly, so now we have to tolerate them even if they are really bad 
ideas that you don't want to use if you can avoid it."

To me, this looks like a careful design decision: Do not try to define 
syntax restrictions for something that's defined elsewhere.

A somewhat similar approach has been taken for language tags, see
In that case, there is a very generic grammar, but not the more specific 
grammar that is currently in force.

These datatypes also come with facets that allow restrictions. That 
would make it possible for any application of XML Schema to be more 
specific if they think they can be more restrictive.

I guess there must be several good reasons for these design decisions 
(the main one from my point of view is making specs more independent of 
each other), but of course there may also drawbacks.

Makoto, it might help us if you are more specific about the problems you 

Regards,   Martin.

On 2010/09/30 23:55, Richard Ishida wrote:
> Any comments for Murata-san?
> From: Makoto []
> Sent: 21 September 2010 01:11
> To: Richard Ishida
> Cc: MURATA Makoto (FAMILY Given)
> Subject: Re: anyURI in W3C XML Schema 1.1
> Importance: High
> Yes, please.  I am tring to improve
> I18n of OOXML open packaging
> convention.  I have thought  that
> LEIRIs should be a basis, but now
> XSD 1.1 appears to claim it shouldn't.
> Cheers,
> Makoto
>>> From: MURATA Makoto (FAMILY Given) []
>>> Sent: 20 September 2010 15:13
>>> To: Richard Ishida
>>> Cc: Murata
>>> Subject: xsd:anyURI in W3C XML Schema 1.1
>>> Richard,
>>> It appears that the latest draft of W3C XML Schema 1.1 Part 2 allows
>>> absolutely any thing as xsd:anyURI.  I think that  xsd:anyURI should
>>> allow LEIRIs and nothing else.  Does the I18N WG agree with what the
>>> XML Schema WG is doing?
>>> Cheers,
>>> Makoto

#-# Martin J. Dürst, Professor, Aoyama Gakuin University

Received on Tuesday, 5 October 2010 10:02:52 UTC