A comment has been created.

http://cocoon.zones.apache.org/daisy/documentation/688.html

Document ID: 688
Name: Creating a Generator
Branch: main
Language: default

Created by: Lachlan Paterson
Created on: 10/17/05 7:15:13 PM
Visibility: public

Here are a few corrections to the code above:

import org.apache.excalibur.source.NOPValidity;
should be
import org.apache.excalibur.source.impl.validity.NOPValidity;

Also, I don't think the renderBean function would compile as-is. qName needs to 
be declared a String and contentHandler.endNamespace( root );
is not in the API of 
http://java.sun.com/webservices/docs/1.5/api/org/xml/sax/ContentHandler.html