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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Identify PUBLICID outside of dtd?

[ Lists Home | Date Index | Thread Index ]

"Chris Wilper" <cwilper@cs.cornell.edu> wrote:

| It seems that a doctype exists for every element that can be used as a 
| root element in a document.

AFAIK, any element can be a root in an appropriate document: there is no
way to privilege some elements or to prohibit others.  The notion of a
"document type" is underspecified in SGML too; in particular, there is no
support for referencing a type (i.e. "declaring" a type by canonical name
only, as in "This is a Docbook document".)  See, e.g.


| Since an element can be defined as belonging to a namespace,

I think you mean "XML namespace", which makes it true by definition.  In
the ordinary sense of "namespace", a SGML/XML document has many of them in
a single document, all of them taken together comprising a taxonomy (or,
if you like, "vocabulary".)

| a corresponding doctype could similarly be defined -- and would naturally 
| fit within the same namespace,

What does this mean?  

Wouldn't it be better to have a name for the taxonomy as a whole, within
which components such as "elements" could be identified?

I sense some old debates cropping up again.


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

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