cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: XSLT transformation
Date Fri, 05 Aug 2005 07:08:26 GMT
<snip/>
Conal Tuohy wrote:
>
> Upayavira wrote:
>>Your transformer is passing something down the pipeline as 
>>null. This isn't tripping up the XML serializer, but is 
>>tripping up the xslt transformer. Go through each of the 
>>startElement, etc, calls within your transformer looking at 
>>the output. See if you can see any nulls in there.
> 
> 
> e.g. there is a null passed as the value of a namespace URI to
> AttributesImpl.addAttribute
> 
> If the namespace URI is null it should be represented by the empty
> string ("") not java null.

Hah. Thanks for that. I suspected it was something simple like that. 
Confuses XSLT transformers, but the XMLSerializer is okay with it.

Regards, Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message