cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Lavoie <philippe.lav...@cactus.ca>
Subject [BUG + patch] Stylebook isn't compiling
Date Fri, 14 Jan 2000 18:56:16 GMT
It seems stylebook is out of synch with xerces from today's CVS.

To fix it, make it look like the following


     public void print(Document doc, CreationContext c, OutputStream out)
    throws CreationException, IOException {
        OutputFormat f=new OutputFormat(Method.XHTML,
                                        "US-ASCII",true);
        Serializer
s=SerializerFactory.getSerializerFactory(Method.XHTML).makeSerializer(out,f)
;
	
        s.asDOMSerializer().serialize(doc);
    }


Now, I just have to make sure it works :)

Phil


Mime
View raw message