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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Weak DTDs

[ Lists Home | Date Index | Thread Index ]
  • From: digitome@iol.ie (Sean Mc Grath)
  • To: xml-dev@ic.ac.uk
  • Date: Sat, 18 Oct 1997 09:48:39 +0100

>W. Eliot Kimber wrote:
>> Peter has run head-on into one of the fundamental problems with DTDs as
>> currently defined by SGML (and XML): we want them to describe *classes* of
>> documents when they actually describe *individual* documents (and are
>> incapable of defining classes of documents except in very weak ways).
>
SGML establishes a one-to-one relationship between markup and DTD.
The instance - directly or indirectly - *names* its DTD.

However, a given instance can be gainfully parsed w.r.t.
many DTDs to achieve different effects - weakening contraints is one of 
them.

To do this involves specifying at parse time - rather that at authoring time -
what DTD to use for the parse.

<Statement InvititationForTrouble=TRUE">
HyTime allows parsing w.r.t. a meta-DTD via HyTime aware parsers. However,
I think there are many occasions when there is nothing "meta" involved. Just
a desire to parse w.r.t to an alternative schema. Not a meta-schema - just
a different schema.
</Statement>


Sean Mc Grath

sean@digitome.com
Digitome Electronic Publishing
http://www.digitome.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/
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