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

"XML is a subset of SGML" - True or False?

  • From: AndrewWatt2000@a...
  • To: xml-dev@x...
  • Date: Sun, 2 Jul 2000 08:19:06 EDT

xml is a subset of
[This message was first sent to the list on 30th June but I didn't see it or 
any responses to  it on the list. My guess is that it did not reach the list. 
It is also absent from the list archive, hence this re-send.]

The XML 1.0 Recommendation starts off with a statement to the effect that XML 
is a subset of SGML.

My question is whether that statement was true at the time it was published 
and whether it is true now.

My perception is that XML never was truly a "subset" of SGML.

Take for example the optional nature of a DTD in XML. Such a document is 
legal "XML" but is not, as far as I understand it, legal "SGML". Thus part of 
the XML domain lies outwith the SGML domain. Therefore on that point alone 
XML is not a subset of SGML.

Similarly, XML is case sensitive whereas SGML is not. Thus the way that a 
document will be handled in an SGML-compliant tool and and XML-compliant tool 
are different.

On these two points alone it seems to me that XML is NOT and NEVER WAS a 
"subset" of SGML, in any strict sense. Am I missing something fundamental 
here or is the opening statement of the XML 1.0 Recommendation inaccurate?

Of course, I am not attempting to deny similarities between XML and SGML. But 
if the XML WG wished to say there were many similarities between the two it 
seems to me that there were more precise ways of expressing that available to 
the authors.

The secondary part of my question relates to the implications of XML Schema 
for the assertion that "XML is a subset of SGML". As far as I am aware SGML 
has no such feature. If so, then (yet another) aspect of XML lies outwith the 
SGML domain.

Of course, if the statement "XML is a subset of SGML" was never true XML 
Schema simply confirms that situation. If some believe that XML was 
originally a subset of SGML what is the impact of XML Schema on their 
perception?

Andrew Watt

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.