[dsdl-comment] Re: [xml-dev] Come On, DTD, Come On! Thoughts on DSDL Part 9

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Wed Jun 12 2002 - 14:16:00 UTC

At 2002-06-11 23:15 -0400, K. Ari Krupnikov wrote:
>If you meant internal Part 9 subsets, I'd say do away with them. I get
>the impression a lot of people are unhappy with a document that
>validates against a DTD without following its declarations
>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
> <!ENTITY % my-html SYSTEM "my-own-xhtml.dtd">
> %my-html;
> <!ELEMENT html (%who-knows-what;)>
>]>

Thankfully, the ELEMENT declaration above would be in fatal conflict with
the ELEMENT declaration in the external declaration subset ... remember
that only ENTITY declarations can be overridden.

But I get your point and anywhere where public DTDs with parameter entities
are referenced are susceptible to precisely the issue you've raised.

But, personally, I still need general entities for the management of a
large XML resource as small manageable pieces, and the
"first-one-defined-wins" rule is relied upon in my own environment.

Thanks, Ari!

................. Ken

--
Upcoming: 3-days XSLT/XPath and/or 2-days XSL-FO:Sep 30-Oct 4,2002
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/d/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:     2002-06-11,13,14,08-05,26,27,09-30,10-03
--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Wed Jun 12 11:20:24 2002

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:26 UTC