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

Re: Validate **against** a schema OR validate **with** a

  • From: Rick Jelliffe <rjelliffe@a...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 23 Jan 2009 20:28:51 +1100

Re:  Validate **against** a schema OR validate **with**     a
DavePawson wrote:
>  
> Is that the heart of the matter Rick?
> Thinking of todays list of 'applications' to take a simple SGML 
> validation and partition it into many parts for different reasons,
> isn't augmentation just another option along the way (that some
> people want)?
There is no way for an XSD schema or an instance to communicate to 
processing software that the full infoset of the document will only be 
obtained if default values specified in the schema are added. With DTDs, 
the problem does not arise: you have to add the defaults (if 
standalone!=yes etc). With RELAX NG, the problem does not arise: there 
is no notion of defaulting.  For XSD, you have to look at the particular 
schema (does it provide defaults?) and know something about the instance 
(does it assume defaults?) and both (do the defaults that the instance 
assumes match the defaults in the schema I will use?) and then work out 
how to configure your system to make sure that defaulting is done (if 
there is in fact a built-in way.) 

>
> If W3C won't address it...
>
XML and XSD and all the spaghetti in between are their standards: no-one 
else will take it on. And there is no groundswell for XML 2.0 which 
could consolidate and fix these: mostly when I see calls for XML 2.0 it 
relates to some syntactical piddliality.
>
> But clearly not so amongst the readers here.
But we are clearly the solution to any and every problem, and never the 
cause...

Cheers
Rick Jelliffe


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.