This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] OT: XML decl. in DTD


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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]