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


Help: OASIS Mailing Lists Help | MarkMail Help



   Many dialects of XML?

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: "XMLDev list" <xml-dev@ic.ac.uk>
  • Date: 13 Nov 1999 07:09:37 -0500

"Rick Jelliffe" <ricko@allette.com.au> writes:

> * We now have four kinds of XML: WF, Canonicalized, Valid with DTD, XML
> with namspaces: actually, since they are not mutually exclusive, maybe
> that gives us 8 kinds of XML. 

As I understood it, Canonicalized XML was really defining a mask for
comparing XML documents -- it's not a separate dialect that processors 
are free to support or ignore, so it doesn't belong in the list.

All processors must support well-formed XML, so that's a given for any
possible variant.  Still, that leaves the following four combinations:

  Well-formed + valid
  Well-formed + Namespaces
  Well-formed + valid + Namespaces

Compare this list to

  WebSGML + Architectural Forms
  SGML + Architectural Forms

After all, while many XML-related specs (i.e.Schemas and XSL) require
Namespaces, many SGML-related specs (i.e. HyTime and DSSSL) require
Architectural Forms.

Actually, I'm cheating a little in SGML's favour right now, since the
SGML declaration creates a potentially infinite number of SGML
variants that any SGML parser is free to support or reject (outside
the reference concrete syntax): in SGML you can end up with a
processor that allows UTF-16, 4096-character PIs and 8-character
names, and another that allows only US-ASCII, 128-character PIs, and
1024-character names.

> But there is no standardized way for a document to announce which of
> these forms it is (I suppose the standalone declaration does
> something like this).  

Yes, the SGML declaration helps that situation a little, but only to
the extent that you can find out *why* two SGML tools refuse to

All the best,


David Megginson                 david@megginson.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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