W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

Re: Whitespace as a constraining facet?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 08 Feb 2001 10:06:54 +0000
To: Michael Anderson <michael@research.canon.com.au>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bn1bxebep.fsf@cogsci.ed.ac.uk>
Michael Anderson <michael@research.canon.com.au> writes:

> "Henry S. Thompson" wrote:
> 
> > Michael Anderson <michael@research.canon.com.au> writes:
> >
> > > The Candidate Recommendation added in a new constraining facet called
> > > whitespace, but it doesn't appear to be a facet that does any
> > > constraining.  I'm not even sure if it is a facet (but I'm not an english
> > > language expert by any means).  The whitespace functionality is a lot more
> > > like a processing instruction than a constraining facet.
> > >
> > > Having it as a facet introduces problems such as when do you apply it?
> >
> > Before validation.
> 
> Does this include the test for empty?  Ie in cvc-elt.3.2 "... the normalized
> value must be either empty or match the string of the {value constraint}"
> So the string "   " with <whitespace value="collapse"/> is valid even if
> fixed="dog"?

This validation rule has been re-written to clarify this among other
things, hope the next draft will help here.

In haste,

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 8 February 2001 05:06:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC