[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Re: [xml-dev] Multiple DOCTYPE in one xml document?
According to "Extensible Markup Language (XML) 1.1 (Second Edition)" http://www.w3.org/TR/2006/REC-xml11-20060816 document ::= ( prolog element Misc* ) prolog ::= XMLDecl Misc* (doctypedecl Misc*)? doctypedecl ::= '<!DOCTYPE' ... You can have at most one DOCTYPE, between the XML declaration and the root element, optionally surrounded by processing instructions and comments. -W On 05/08/2012, Dan Shelton <dan.f.shelton@gmail.com> wrote: > On 5 August 2012 06:29, John Cowan <johnwcowan@gmail.com> wrote: >> On 8/5/12, Dan Shelton <dan.f.shelton@gmail.com> wrote: >>> is it valid that a document can have multiple DOCTYPE chunks, like the >>> one below, in one document? Or is only one allowed at the beginning of >>> the document? >>> >>> <!DOCTYPE mime-info [ >>> <!ELEMENT mime-info (mime-type)+> >> >> No, it isn't valid. > > Are you sure there is no way to define entities somehow in the middle > of an document? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-help@lists.oasis-open.org > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]