[XML-SIG] Missing DOCTYPE when pretty printing

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 6 Mar 2001 07:48:17 +0100


> According to the doctypedecl, the answer would be yes.  The ExternalID
> is optional and so is the internal subset.  Both are followed by a
> question mark.

So it would be well-formed, yes. However, it would seem that this
gives a document type with no element definitions. In turn, any
document using that doctype will be invalid - even the root element is
undefined.

Regards,
Martin