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

Re: What's a valid instance...James Clark

From: David Carver <kingargyle@gmail.com>
Date: Thu, 22 Mar 2007 10:14:56 -0400
Message-ID: <46028F60.1000003@gmail.com>
To: Pete Cordell <petexmldev@tech-know-ware.com>, xmlschema-dev@w3.org
Re: What's a valid instance...James Clark


>
> (I didn't really need to include the last line, but just love the word 
> 'bogosity!')
>
> By my understanding he is wrong on this.  The only valid document 
> (ignoring whitespace) would surely be:
>
>    <foo xmlns="http://www.example.com"/>
>
> Trouble is, James Clark is one of those people who I would imagine is 
> rarely wrong, so I thought I'd better ask!
Yes, James Clark is wrong.   Of course you need to take a look at the 
date of the email, which is 2002, and we are in 2007 now, so I suspect 
it was accurate at the time it was written.   Xerces correctly rejects 
the <bar/> element when validated with the schema example provided.

RelaxNG has it's advantageous and Schema has it's.  One tool may not fit 
all situations.   Closest would be schematron but it is too wordy and 
most people I know that deal with this aren't comfortable writing XPaths.

Dave


Dave
Received on Thursday, 22 March 2007 14:13:55 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.