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

RE: XML spec and XSD

  • From: "Michael Kay" <mike@saxonica.com>
  • To: "'Mukul Gandhi'" <gandhi.mukul@gmail.com>,"'Simon St.Laurent'" <simonstl@s...>
  • Date: Sat, 7 Nov 2009 17:37:41 -0000

RE:  XML spec and XSD
> 
> I don't know, how a technology (i.e, XSD..) that is capable 
> of doing XML validation (and XSD does this well), and is 
> implemented by number of XML products, which is implemented 
> widely in XML applications (I can see uncountable XML 
> instances been validated by XSD every day), can be damaging.

I think Simon is probably thinking in terms of opportunity costs. That is,
the idea that if this technology hadn't been so widely adopted, the
community might have adopted something better instead, and gained a better
return on its investment.

He might also be thinking that for some people who have adopted the
technology, the cost has been greater than the benefit. I think it would be
hard to demonstrate that objectively.

> 
> I am asking only for a simple reference in the XML spec, 
> pointing to the XSD spec and ideally saying somewhere in the 
> XML spec (2.0 perhaps), that XSD is another validation 
> technology from W3C similar to DTD.
> I still cannot think, why anybody can disagree to this. XSD 
> and DTD both belong to W3C, and both are W3C recommendations, 
> so I don't think why this simple modification to XML spec 
> cannot take place.
> 

We're dealing here with specifications: a legalistic contract between the
implementor of an XML parser and the user of an XML parser. You can write a
fully conformant XML parser without ever knowing that XSD even exists.
Furthermore, you can use XML without ever knowing that XSD exists.
Therefore, XSD doesn't need to be part of the XML contract. Equally, you
wouldn't want XML to be mentioned in the Unicode specifications, because
Unicode has no dependency on XML, and would still be of value if everyone
suddenly decided to abandon XML and move to YML instead.

It's of great value that specifications should NOT have unnecessary
dependencies. The fact that XML links normatively to DTDs is undoubtedly a
bad thing. In this respect the architecture of specifications is very like
the architecture of software implementations: you want the components to be
as loosely coupled as you can achieve, to allow each component to evolve or
to be replaced with minimum impact on the other components.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 



[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.