cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johann <romef...@club-internet.fr>
Subject Re: (flow) pipelineUtil.processToDOM eating my namespaces declarations
Date Thu, 25 Aug 2005 00:06:50 GMT
Le 25 août 05 à 00:50, Joerg Heinicke a écrit :

> On 25.08.2005 00:09, Johann wrote:
>
>
>> It seems that pipelineUtil.processToDOM remove all my namespaces   
>> declarations in the DOM it generates. Anyone aware of this
>> limitation, and know a workaround or a fix? I also tried   
>> pipelineUtil.processToStream to be sure, and it outputs the right   
>> thing, with the namespaces declarations.
>>
>
> PipelineUtil.processToDOM() does not do that much itself, so it is  
> probably not PipelineUtil itself. It calls SourceUtil.toDOM() which  
> is just feeding SourceUtil.toSAX() into Cocoon's DOMBuilder. So I  
> would suggest to try toSAX() and see whether you get your  
> namespaces. You also might have a look at the XML APIs in use.  
> Maybe there is an older faulty one from the Sun JVM?
>

Thanks, I updated xalan and now everything is working well!

Many thanks!

johann


> Joerg
>
>


Mime
View raw message