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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Summary of Namespaces and Validation

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Fri, 11 Sep 1998 11:01:23 -0400

Liam R. E. Quin wrote:

> If a DTD refers to multiple external definition sets, with multiple
> prefixes, it is necessary to determine the source of each referenced
> element type, which may require a two-pass algorithm to collect all
> of the element definitions and then associate them with the right
> prefixes.  The fact that an element type can be referred to before
> it is declared makes this slightly more complex, but is necessary...

One pass is sufficient, even if prefixes are not defined before
they are referenced, provided that the default prefix is declared
somehow.
 
> Tim, what am I missing?  Apart from the face that we lack a good
> way to associate a DTD or DTD fragment with a prefix, I mean?

Nothing as far as I can see.  Of course the result is not SGML-compliant
DTD-based validation, but it is validation of XML using DTDs.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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