Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: =?ISO-8859-1?Q?Should__be_in_a_DTD??= [Thread Next] Re: =?ISO-8859-1?Q?Should__be_in_a_DTD??=To: NULL Date: 12/3/2007 6:35:00 PM Richard Tobin wrote: > In article <47542aae$0$16671$9b4e6d93@n...>, > Martin Honnen <Martin.Honnen@g...> wrote: > >> See <URL:http://www.w3.org/TR/REC-xml/#sec-prolog-dtd> about the "text >> declaration" that the external subset can begin with. So >> <?xml version="1.0"?> >> or >> <?xml version="1.0" encoding="UTF-16"?> >> is perfectly right at the beginning of an external subset (DTD). > > Somewhat strangely, the EncodingDecl is required in a TextDecl (though > not in an XMLDecl). So <?xml version="1.0"?> is not allowed in an > external DTD. Right. VersionInfo is optional however in TextDecl. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
