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