[4suite] Printers (cued)
Uche Ogbuji
uche.ogbuji at fourthought.com
Tue Sep 19 14:24:55 MDT 2000
Alexandre Fayolle wrote:
> Something more annoying are the xml header and doctype of the file. One of
^^^^^^^
I almost forgot to address this one. Guess what? I'm passing the buck
again (I'm so good at that). But seriously. The problem is that SAX2
does not yet give us the document type particulars, so they are not
properly set. Lars is finishing up Sax2 this week, so you should see
this addressed soon. Until then, the best thing to do is to manually
set the doctype adter reading with Sax2:
doc.doctype.__dict__['__systemId'] = "spam.dtd"
doc.doctype.__dict__['__publicId'] = "-//SPAM//DTD Eggs 1.0//FR"
And then Print should work (barring a bug we've corrected).
--
Uche Ogbuji Principal Consultant
uche.ogbuji at fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
More information about the 4suite
mailing list