[
Lists Home |
Date Index |
Thread Index
]
- From: Peter Murray-Rust <peter@ursus.demon.co.uk>
- To: xml-dev@ic.ac.uk
- Date: Sat, 13 Dec 1997 00:15:10
At 12:34 12/12/97 +0100, james anderson wrote:
>we're trying to understand the necessary form for the external dtd
>subset.
>in particular two questions have arisen.
>
>1? since the external subset contains markup declarations only, it
>would appear that it establishes no constraint on the root element. is
>it legitimate to use the same dtd for various xml documents, each with a
>different root element?
Good point! I have never really understood why it's necessary to have
consistency between the root element and the doctypedeclName. For example
If I am authoring HTML 2.0 (assume there is an official XML DTD) and I write:
<?xml version="1.0"?>
<!DOCTYPE P SYSTEM "html20.dtd">
<P>This is a para</P>
that is presumably valid, but:
<?xml version="1.0"?>
<!DOCTYPE HTML SYSTEM "html20.dtd">
<P>This is a para</P>
is invalid. Is this what the WG intends? If so, what's the rationale?
P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg
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)
|