OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: xml spec 1.0 validity constraint for ID/IDREF

[ Lists Home | Date Index | Thread Index ]
  • From: richard@cogsci.ed.ac.uk (Richard Tobin)
  • To: xml-dev@xml.org
  • Date: 29 Mar 2000 18:25:46 GMT

In article <NDBBIJEAKKAIFAMNGDKAEELNCCAA.gopi@aztecsoft.com>,
gopi <gopi@aztecsoft.com> wrote:

>	Hmm.... I really doubt on this line. Have a look at the URL
>http://www.w3.org/TR/NOTE-sgml-xml-971215.  I don't have much knowledge
>about SGML but looking this doc
>I felt that XML is not just sub-set of SGML, but it puts some "restrictions"
>on SGML documents.

"XML is a subset of SGML" means that any legal XML document is a legal
SGML document.

> Even though SGML is the base for XML spec, it is even
>now not making sure that "every" SGML doc is not XML document (if you parse
>using XML processor).

I think you have too many nots there!

It isn't the case that every SGML document is a legal XML document.  That
would mean that SGML was a subset of XML, and it's the other way round.

>Anyway, SGML doc cannot be processed using XML processor.

Exactly.  But an XML document can be processed using an SGML processor,
which was the idea.  The aim was that people could use there existing
tools with XML documents, to aid in the acceptance of XML.

XML is not going to be changed to permit non-name IDs.  Some future
version of XML might abandon SGML compatibility but by then DTDs will
probably be regarded as obsolete.  But you will (very soon) be able to
use schemas to do what you want.

-- 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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS