[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Discrepancies in the W3C Schema docs?

From: Michael Kay <mike@saxonica.com>
Date: Tue, 12 Jun 2007 11:04:47 +0100
To: "'Pete Cordell'" <petexmldev@tech-know-ware.com>, "'Henry S. Thompson'" <ht@inf.ed.ac.uk>
Cc: "'Dan Maharry'" <dan@mcd.coop>, <xmlschema-dev@w3.org>
Message-ID: <007401c7acd9$1c266ef0$6401a8c0@turtle>
RE: Discrepancies in the W3C Schema docs?

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@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Pete Cordell
> Sent: 12 June 2007 10:51
> To: Henry S. Thompson
> Cc: Dan Maharry; xmlschema-dev@w3.org
> Subject: Re: Discrepancies in the W3C Schema docs?
> 
> 
> ----- Original Message From: "Henry S. Thompson" 
> <ht@inf.ed.ac.uk> 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?
> 
> Cheers,
> 
> Pete.
> --
> =============================================
> Pete Cordell
> Codalogic Ltd
> for XML Schema to C++ data binding visit  
> http://www.codalogic.com/lmx/ 
> =============================================
> 
> 
> 
Received on Tuesday, 12 June 2007 10:05:01 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.