[XML-SIG] [ pyxml-Bugs-986995 ] Serializer doesn't create DOCTYPE
correctly
SourceForge.net
noreply at sourceforge.net
Thu Jul 8 04:05:08 CEST 2004
Bugs item #986995, was opened at 2004-07-08 10:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=986995&group_id=6473
Category: DOM
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Derek Fountain (derekfountain)
Assigned to: Nobody/Anonymous (nobody)
Summary: Serializer doesn't create DOCTYPE correctly
Initial Comment:
The 4DOM serializer doesn't generate DOCTYPE lines
properly. If the doctype node doesn't have a system or
public id, no "<!DOCTYPE..." line is generated. The
code in dom/ext/Printer.py is quite clear:
def visitDocumentType(self, doctype):
if not doctype.systemId and not
doctype.publicId: return
which is wrong. It should print the "<!DOCTYPE
rootname>" line and then exit.
See the thread here:
http://mail.python.org/pipermail/xml-sig/2004-July/010334.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=986995&group_id=6473
More information about the XML-SIG
mailing list