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

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

  • From: "G. Ken Holman" <gkholman@c...>
  • To: xml-dev@x...
  • Date: Sun, 02 Jul 2000 14:57:45 -0400

sgml training
At 00/07/02 08:19 -0400, AndrewWatt2000@a... wrote:
>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.

Yes and yes.

There have been a number of technical corrigenda (TC) published for 
SGML.  With the Web-enabling TC 
http://www.ornl.gov/sgml/wg8/document/1955.htm considered, XML *is* an 
application-profile of SGML.  This TC was published in December 1997 before 
XML 1.0 became a completed Recommendation in February 1998.

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

All of XML is legal SGML when considering the appropriate TC applied to the 
SGML standard.  See section K.4.9 that covers this particular aspect.

>Similarly, XML is case sensitive whereas SGML is not.

Not true.  The concrete reference syntax for SGML is not case sensitive, 
but the SGML user can specify in the SGML declaration the feature NAMECASE 
GENERAL NO to stop name case folding to uppercase, thus making it case 
sensitive.

>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?

I hope the information above helps.

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

XML Schema is not an aspect of XML 1.0 ... it is a totally separate 
Recommendation.  XML 1.0 is an application profile of SGML.

................. Ken
Chairman Canadian CAC/ISO/IEC JTC 1/SC 34
Document Description and Processing Languages
(SGML family of International Standards)



--
G. Ken Holman                    mailto:gkholman@C...
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Book: Practical Transformation Using XSLT and XPath ISBN1-894049-04-7
Next instructor-led training:    2000-09-19/20,2000-10-03,2000-10-04,
-                                    2000-10-05,2000-11-13,2001-01-27


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