|
[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?
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








