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: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 17 Sep 2002 11:34:04 +0100
Message-ID: <29911619990.20020917113404@jenitennison.com>
To: noah_mendelsohn@us.ibm.com
CC: ht@cogsci.ed.ac.uk (Henry S. Thompson), www-xml-schema-comments@w3.org

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).
If you wanted 'skip' validation for the content of a particular
element, you'd do:

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

If you wanted 'lax' validation for the content of that element you'd
do:

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

or just:

  <xs:element name="foo" />

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

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Tuesday, 17 September 2002 06:34:06 GMT

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