[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

  • To: "John Verhaeg" <jverhaeg@m...>,"Henry S. Thompson" <ht@c...>
  • Subject: RE: (more details) embedding xml schema in an instance doc
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 11 Jun 2002 10:09:37 -0700
  • Cc: <peej@m...>,<xml-dev@l...>,<xmlschema-dev@w...>
  • Thread-index: AcIRZxDZH0nFlSBWTnuLA5iRmyyzCAAA3s/g
  • Thread-topic: (more details) embedding xml schema in an instance doc

xml embed schema
Exactly. So either the sForS is invalid (which wouldn't matter if it
wasn't a normative reference) or there needs to be acknowledgement in
the W3C XML Schema recommendation that the sForS should be special cased
by validating processors. Either way, the issue is not clear cut. 

-- 
PITHY WORDS OF WISDOM 
The shortest distance between two points is under repair.

This posting is provided "AS IS" with no warranties, and confers no
rights. 



> -----Original Message-----
> From: John Verhaeg [mailto:jverhaeg@m...] 
> Sent: Tuesday, June 11, 2002 9:43 AM
> To: Dare Obasanjo; Henry S. Thompson
> Cc: peej@m...; xml-dev@l...; xmlschema-dev@w...
> Subject: RE:  (more details) embedding xml schema in 
> an instance doc
> 
> 
> It seems like section 3.14.6, "Schema Component Constraint: 
> Type Derivation OK (Simple)", of XML Schema Structures Part 1 
> doesn't allow for atomic restrictions, which of course the 
> sForS must do, so it would seem there would have to be a 
> special case for it.
> 
> John P. A. Verhaeg
> JVerhaeg@M...
> MetaMatrix, Inc.
> 11477 Olde Cabin Road Suite 400
> Creve Coeur, MO 63141
> (314) 739-3190 x150
> 
> 
> -----Original Message-----
> From: Dare Obasanjo [mailto:dareo@m...]
> Sent: Tuesday, June 11, 2002 10:57 AM
> To: Henry S. Thompson
> Cc: peej@m...; xml-dev@l...; xmlschema-dev@w...
> Subject: RE:  (more details) embedding xml schema in 
> an instance doc
> 
> 
> 
> > -----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. 
> 
> Or are you saying that schema validators should special case 
> the sForS? 
> 
> > > As for validating processors to allow
> > > 
> > > <xs:import  namespace="http://www.w3.org/2001/XMLSchema" />
> > > 
> > > so users can specify items from the
> > http://www.w3.org/2001/XMLSchema
> > > namespace in their
> > instance documents is a work around to this
> > > deficiency that I am not sure any validating processor currently
> > > implements.
> > 
> > Works in XSV.  But why do it?  All the public components from
> > the sForS are already available by definition, without any 
> > import being required.
> 
> If this is the case can you show me the valid schema for the 
> following XML document and explain how the schema conforms to 
> the W3C XML Schema recommendation without importing the 
http://www.w3.org/2001/XMLSchema namespace 

<myns:root xmlns:myns="urn:xmlns:25hoursaday-com:example" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema">
 <xs:element name="foo" type="xs:string" />
</myns:root> 



-- 
PITHY WORDS OF WISDOM 
The shortest distance between two points is under repair.

This posting is provided "AS IS" with no warranties, and confers no
rights. 


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.