[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: richard@c... (Richard Tobin)
  • To: xml-dev@x...
  • Date: 2 Jul 2000 18:20:50 GMT

subset of sgml
In article <e8.68b6a1a.26908d3a@a...>,  <AndrewWatt2000@a...> wrote:

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

[I'm not an SGML expert, so don't take this as the last word on the
subject.]

It *is* intended that XML be a subset of SGML, in the sense that a
valid XML document is also a legal (? I'm not sure what the right SGML
term is) SGML document.  Furthermore, the "Web SGML" additions to
SGML, which you can find at

  http://www.ornl.gov/sgml/sc34/document/0029.htm

extend SGML to allow (among other things) DTD-less SGML documents
provided they are fulled tagged, so that merely well-formed XML
documents can be legal SGML-as-amended-by-TC2.

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

I believe this can be controlled by the SGML declaration; an SGML
declaration appropriate for XML has been written.

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

Quite so.  Only XML 1.0 itself is a subset of SGML.  But note that
documents validated by schemas, and indeed the schemas themselves, are
still legal SGML documents.  Schemas don't add any new syntax.

-- Richard
-- 
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

"The Internet is really just a series of bottlenecks joined by high
speed networks." - Sam Wilson

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