Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Discrepancies in the W3C Schema docs?

From: "Pete Cordell" <petexmldev@--------------.--->
To: "Michael Kay" <mike@--------.--->
Date: 6/12/2007 3:27:00 PM
Ah - I saw that IDREFS allowed the whitespace facet and assumed that meant 
you could actually change it!

Time to re-read the spec I think :-(

Thanks,

Pete

----- Original Message From: "Michael Kay" <mike@s...>
> Section 4.3.6:
>
> For all datatypes .derived. by .list. the value of whiteSpace is collapse
> and cannot be changed by a schema author.
>
> Michael Kay
> http://www.saxonica.com/
>
>
>> -----Original Message-----
>> From: xmlschema-dev-request@w...
>> [mailto:xmlschema-dev-request@w...] On Behalf Of Pete Cordell
>> Sent: 12 June 2007 10:51
>> To: Henry S. Thompson
>> Cc: Dan Maharry; xmlschema-dev@w...
>> Subject: Re: Discrepancies in the W3C Schema docs?
>>
>>
>> ----- Original Message From: "Henry S. Thompson"
>> <ht@i...> Pete Cordell writes:
>>
>> >> I've always assumed that the lexical space is
>> pre-normalization, but
>> >> I can't at the moment find anything that tells me this either way.
>>
>> > In W3C XML Schema, all constraints are applied _after_
>> normalisation
>> > of white space.
>>
>> Thanks for that.
>>
>> Exploring further... If you made IDREFS an element's contents
>> (not recommended, but not disallowed), and you overrode the
>> whitespace facet to be preserve, thus allowing you to have
>> multiple intervening whitespace after validation,
>> would/should the result still be interpreted as a valid
>> IDREFS (i.e. a list of IDREF values)?
>>
>> Is so, IDREFS is not always defined as having only a single
>> intervening space char; correct?

=============================================
Pete Cordell
Codalogic Ltd
for XML Schema to C++ data binding visit
 http://www.codalogic.com/lmx/
=============================================



From ht@i... Thu Jun 14 09:26:16 2007
Received: from maggie.w3.org ([193.51.208.68])
	by frink


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent