cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject Re: AbstractDOMTransformer
Date Mon, 10 Mar 2003 20:47:49 GMT
Bruno Dumon wrote:
> On Mon, 2003-03-10 at 18:01, Michael Wechner wrote:
> 
>>Sylvain Wallez wrote:
> 
> [...]
> 
>> >> public class MyDOMTransformer extends AbstractDOMTransformer {
>> >>     protected Document transform(Document doc) {
>> >>           return doc;
>> >>      }
>> >> }
>> >>
>> >>
>> >>
>> >> If I am piping through a document with namespaces then I will 
>>receive the following exceptions:
>> >>
>> >> java.lang.NullPointerException .... DOMStreamer.java:438, 259, 173 
>>.... AbstractDOMTransformer.java: 179
>> >>
>> >
>> > I fixed DOMStreamer by preventing null to be insterted in the Map 
>>that causes the NPE at line 438. This doesnt' fix the cause, but may 
>>solve your problem.
>>
>>
>>No, unfortunately I still receive an exception (I tried the new 
>>cocoon-2.1 (co cocoon-2.1) and the old xml-cocoon2 module)
>>
> 
> 
> Sorry, my fault. Should be fixed now, could you try again (on
> cocoon-2.1, not yet applied on cocoon-2.0) and let me know if it's all
> ok now? Thanks
> 

yeah, it seems to work. Thanks a lot

Michael





Mime
View raw message