Re: output to BMP possible?

Jeremias Maerki <[email protected]> Thu, 20 Nov 2003 10:44:12 +0100
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
On 20.11.2003 10:04:08 Jorg Heymans wrote:
> Digging further, it seems that somewhere the servlet container gets a 
> nosuchmethoderror on 
> org.apache.avalon.framework.configuration.DefaultConfiguration.<init>(Ljava/lang/String;)V
> 
> I'm using avalon-framework-20020627.jar, default with cocoon 2.0.4.

Yup, that's too old. Please replace the avalon-framework.jar with the
one from Krysalis Barcode. Cocoon will work with that as it's fully
backwards-compatible.

> It would be great if this would work, we could integrate it as a 
> standard component (or block) in cocoon.
> 
> Any thoughts?
> 
> I did not get any further with the saxconfiguration. Doing something like
> SAXConfigurationHandler ch = new SAXConfigurationHandler();
> ch.setDocumentLocator(this.locator);

Right here, you have to send the SAX events first so the Configuration
is generated in the first place. SAXConfigurationHandler is a
ContentHandler.

> Configuration c = ch.getConfiguration();
> 
> results in a nullpointerexception, the configuration returned is null.

I hope this helps.

Jeremias Maerki




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/