W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

Re: R-117: pfianyTypeLax: Problem with processContents for the ur-type

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 17 Sep 2002 11:51:34 +0100
To: Jeni Tennison <jeni@jenitennison.com>
Cc: noah_mendelsohn@us.ibm.com, www-xml-schema-comments@w3.org
Message-ID: <f5bofaw51op.fsf@cogsci.ed.ac.uk>

Jeni Tennison <jeni@jenitennison.com> writes:

> Hi Noah,
> 
> > Dumb question: if you really want the version with "skip", how do
> > you get it? Thanks.
> 
> Was that question addressed to me? If I understood what Henry was
> saying correctly, there'd be two types, xs:anyType (with 'skip'
> validation) and xs:defaultType [made up name] (with 'lax' validation).

To minimize backward incompatibility, actually the proposal is to have

  xs:urType, with processContents='skip'
  xs:anyType, with processContents='lax' (as now)

> If you wanted 'skip' validation for the content of a particular
> element, you'd do:

>   <xs:element name="foo" type="xs:anyType" />

<xs:element name="foo" type="xs:urType" />

> If you wanted 'lax' validation for the content of that element you'd
> do:
> 
>   <xs:element name="foo" type="xs:defaultType" />

<xs:element name="foo" type="xs:anyType" />

> or just:
> 
>   <xs:element name="foo" />

Yes.

> But I might have misunderstood; this might not be what Henry had in
> mind.

All but the names.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 17 September 2002 06:51:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT