[
Lists Home |
Date Index |
Thread Index
]
- From: Andrew n marshall <amarshal@zig.usc.edu>
- To: xml-dev@lists.oasis-open.org
- Date: Fri, 23 Jun 2000 09:49:49 -0700 (PDT)
I can't seem to determine how an XML DTD defines which elements can be
root elements. For example:
------------------------------------------------------------------------
<?xml version='1.0'?>
<!DOCTYPE a PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<a href="#">This link IS this document.</a>
------------------------------------------------------------------------
The above seems perfectly legal according to the XML standard, yet
I don't think that was ever intended. Am I missing something?
By the way, I came across this problem when trying to determine whether
the root DocBook entity should be 'set' or 'book', so it might actually
make sense to allow multiple possible root elements.
Anm
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|