W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

RE: another restriction question

From: Dare Obasanjo <dareo@microsoft.com>
Date: Wed, 24 Jul 2002 16:16:36 -0700
Message-ID: <8BD7226E07DDFF49AF5EF4030ACE0B7E0696F697@red-msg-06.redmond.corp.microsoft.com>
To: "Jeni Tennison" <jeni@jenitennison.com>, "Calvin Smith" <calvins@SIMS.Berkeley.EDU>
Cc: <xmlschema-dev@w3.org>

> -----Original Message-----
> From: Jeni Tennison [mailto:jeni@jenitennison.com] 
> Sent: Wednesday, July 24, 2002 3:42 PM
> To: Calvin Smith
> Cc: xmlschema-dev@w3.org
> Subject: Re: another restriction question
> 
> 
> 
> Hi Calvin,
> 
> > With the occurrence range of the wildcard now set to 0 - 
> unbounded and 
> > the namespace constraint set to ##any, it seems that it 
> satisfies all 
> > the requirements, but it still fails.
> 
> I've played around with this a bit and I can't find any way 
> of making Xerces-J validate an "allow anything" content 
> model. I'm not sure whether this is a bug or whether Xerces-J 
> is following the letter of XML Schema Rec. MSXML seems to 
> object to the same kind of things (which would indicate that 
> it wasn't a bug), but then again they both object to the 
> schema for XML Schema, which we have to assume is valid...

The schema for Schema (sForS) has restrictions of xs:anySimpleType which
we felt was in error. In fact, the W3C XML Schema working group just
recently decided that this needed clarification and the clarification
was that the sForS should be special cased by schema validators. 

-- 
PITHY WORDS OF WISDOM 
He who laughs last didn't catch on very fast, did he? 

This posting is provided "AS IS" with no warranties, and confers no
rights. 
Received on Wednesday, 24 July 2002 19:17:11 UTC

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