You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Philippe Lavoie <ph...@cactus.ca> on 2000/01/14 19:56:16 UTC

[BUG + patch] Stylebook isn't compiling

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