This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] OT: XML decl. in DTD
- From: Dave Pawson <dpawson at nildram dot co dot uk>
- To: Jirka Kosek <jirka at kosek dot cz>,Michael Wiedmann <mw at miwie dot in-berlin dot de>
- Cc: DocBook Apps ML <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 20 Apr 2004 18:28:19 +0100
- Subject: Re: [docbook-apps] OT: XML decl. in DTD
- References: <1082459828.408506b4cd167@webmail.in-berlin.de><40851EAB.7070700@kosek.cz>
At 13:59 20/04/2004, Jirka Kosek wrote:
Michael Wiedmann wrote:
In looking over the XML 1.0 specification I get the impression that this
might
be correct but I'm not completely sure.
Any opinions?
It's perfectly legal. External DTD is in this sense treated as an external
entity which can start with encoding declaration.
Jirka, I think Michael said at the top of the DTD file?
In which case I don't think its right?
I.e. dtd's were prior to XML, hence its misplaced.
What would happen if an XML file contains a different encoding (<?xml
version="1.0" encoding="ISO-8859-1"?>)?
Perhaps two wrongs do make a right :-)
regards DaveP
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.