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

Re: (more details) embedding xml schema in an instance doc


doc dare
"Dare Obasanjo" <dareo@m...> writes:

> > -----Original Message-----
> > From: Henry S. Thompson [mailto:ht@c...] 
> > Sent: Tuesday, June 11, 2002 3:17 AM
> > To: Dare Obasanjo
> > Cc: peej@m...; xml-dev@l...; xmlschema-dev@w...
> > Subject: Re:  (more details) embedding xml schema in 
> > an instance doc
> > 
> > "Dare Obasanjo" <dareo@m...> writes:
> > 
> > > The sForS is not a valid schema and thus should fail to validate.
> > 
> > I think it's time to stop saying this.  As Eddie noted, there 
> > is only one remaining issue (the use of whiteSpace in the 
> > definitions for the builtin primitives) and this is a 
> > contentious issue -- validators which enforce all and only 
> > the normative requirements now pass the sForS.
> 
> I'm not sure I understand this sentence so I'll ask again. Should
> restrictions of xs:anySimpleTYpe be allowed or not? I've heard
> conflicting answers to this question from various W3C XML Schema WG
> members and tend to agree with those that say it should be disallowed. 

I agree that the REC is less than clear here.  Given that the sForS is 
normative, and the injunction against deriving from anySimpleType is
non-normative, it makes sense to me to resolve the apparent
contradiction in favour of the usage in the sForS, as a majority of
implementations appear to have done.

I hope the WG can produce an erratum clarifying this quickly.

> Or are you saying that schema validators should special case the sForS? 

Not in my opinion, no.  If the WG clarifies the situation by making
what is currently non-normative normative, then the sForS will have to
be changed at the same time.  But, as I said, I favour the other
resolution (which would allow the sensible cases of derivation from
anySimpleType, i.e. those involving at _most_ the whiteSpace and
pattern faces.

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@c...
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.