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

Re: xml spec 1.0 validity constraint for ID/IDREF

  • From: richard@c... (Richard Tobin)
  • To: xml-dev@x...
  • Date: 29 Mar 2000 18:25:46 GMT

Re: xml spec 1.0  validity constraint for ID/IDREF
In article <NDBBIJEAKKAIFAMNGDKAEELNCCAA.gopi@a...>,
gopi <gopi@a...> 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@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.