[XML-SIG] Missing DOCTYPE when pretty printing

Andrew Kuchling akuchlin@mems-exchange.org
Mon, 5 Mar 2001 09:04:28 -0500


On Mon, Mar 05, 2001 at 02:29:54PM -0000, Nyenyec wrote:
>It seems that if the DOCTYPE node does not have a SYSTEM id, it will not
>be printed at all? Is this deliberate or is this a bug?

Likely to be deliberate, because I don't think you can have a DOCTYPE
without a system ID; the two choices are:

<!DOCTYPE PUBLIC pubId systemId>
<!DOCTYPE SYSTEM systemId>

Is this actually causing a problem for you?  Is pubId present while
systemId is "" or None?  If so, what parser aare you using, and what
does your file's declaration look like?

--amk