Re: external dtd subset content
Peter Murray-Rust wrote: > Good point! I have never really understood why it's necessary to have > consistency between the root element and the doctypedeclName. The docTypeDeclName exists specifically to state the root element type. > <?xml version="1.0"?> > <!DOCTYPE HTML SYSTEM "html20.dtd"> > <P>This is a para</P> > > is invalid. Think about what the code above means in *HTML*: <HTML> <!-- implied --> <BODY> <!-- implied --> <P>This is a para</P> </BODY <!-- implied --> </HTML> <!-- implied --> Now I suspect you understand why the docTypeDeclName exists and in XML must always be the same as the type of the explicitly tagged root element. Since XML has no minimization, it is redundant of course. WebSGML allows you to use the keyword #IMPLIED (but XML does not) to remove that redundancy. Paul Prescod xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format