OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]