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

RE: XML spec and XSD

  • From: "Michael Sokolov" <sokolov@ifactory.com>
  • To: "'Mukul Gandhi'" <gandhi.mukul@gmail.com>, "'Michael Kay'" <mike@s...>
  • Date: Sat, 7 Nov 2009 08:34:33 -0500

RE:  XML spec and XSD
DTD is special, sadly.  It got lodged in the XML spec in the early days, too
deeply to be excised now, a legacy of SGML I think?  There seems to have
been an insistence on making validity a property of the document, rather
than a separate concern, as it is w/XSD and others. Probably someone older
and wiser can give you a more complete explanation.

-Mike 

> -----Original Message-----
> From: Mukul Gandhi [mailto:gandhi.mukul@gmail.com] 
> Sent: Saturday, November 07, 2009 5:49 AM
> To: Michael Kay
> Cc: xml-dev@lists.xml.org
> Subject: Re:  XML spec and XSD
> 
> Thanks, Mike for your remarks.
> 
> On Sat, Nov 7, 2009 at 3:59 PM, Michael Kay <mike@saxonica.com> wrote:
> > It's a basic issue of architectural layering. XSD has a 
> dependency on 
> > XML, XML has no dependency on XSD. Nothing in the XML spec 
> is affected 
> > if XSD changes.
> >
> > It's bad enough when you're writing a spec tracking the changes in 
> > technologies you depend on (like Unicode). Introducing unnecessary 
> > dependencies for pedagogic or marketing reasons would be a very bad 
> > thing to do.
> 
> Looking at your view points above, I agree to them as good 
> architectural principles while writing W3C specs.
> 
> But I feel, that mentioning XSD as a validation technology 
> for XML documents, in the XML spec is perhaps a good idea 
> since DTD is also mentioned in the XML spec (which is also a 
> XML validation technology).
> I feel, doing so doesn't promote any pedagogic or marketing 
> attitudes towards XSD.
> 
> Reading the XML spec, gives us a feeling (to me at least, I 
> guess) that DTD is the most important technology for 
> validating XML. Even if we don't mention specific versions of 
> XSD as validating language for XML documents (in specific XML 
> standards, like 1.0 5th edition or XML 1.1), I think it's 
> good to mention in references of the XML spec (I believe, a 
> normative reference to this would also be good in the XML 
> spec), that XSD is also another XML validation technology 
> from W3C, which achieves the same task as DTDs do. I think, 
> referring to the link, http://www.w3.org/XML/Schema in XML 
> specs would serve the purpose I am suggesting.
> 
> 
> 
> --
> Regards,
> Mukul Gandhi
> 
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 
> 



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