Enke, Michael wrote:

>Vadim Gritsenko wrote:
>  
>
>>Enke, Michael wrote:
>>
>>    
>>
>>>Vadim Gritsenko wrote:
>>>
>>>
>>>      
>>>
>>>>>Q.2) From where TraxTransformer knows which one to use if no 
><transformer-factory/> is given?
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>From configuration only.
>>>>
>>>>
>>>>        
>>>>
>>>>From cocoon.roles?
>>>
>>>I have the problem that if I use <xsl:strip-space/> in xsl transformation
>>>I get a NullpointerException after some hundred elements.
>>>
>>>      
>>>
>>This is not helpful. Where it happens?
>>    
>>
>
>
>Original exception : java.lang.NullPointerException
> at java.lang.System.arraycopy(Native Method)
> at org.apache.xml.utils.FastStringBuffer.append(FastStringBuffer.java:642)
> at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.characters(SAX2DTM.java:1825)
> at 
>org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.characters(IncrementalSAXSource_Filter.java:257)
> at 
>org.apache.xalan.transformer.TransformerHandlerImpl.characters(TransformerHandlerImpl.java:572)
> at org.apache.cocoon.xml.AbstractXMLPipe.characters(AbstractXMLPipe.java:159)
> at org.apache.cocoon.xml.AbstractXMLPipe.characters(AbstractXMLPipe.java:159)
> at 
>org.apache.cocoon.transformation.I18nTransformer.characters(I18nTransformer.java:905)
> ...
>
>But in I18nTransformer the method call to characters(char[], int, int) is 
>definitively correct.
>So I thought: get the newest xalan-2.4.D1.jar but the Exception is exactly the same, 
>even in the
>same Sourceline: 572. Than I thought: that cann't be and tried to remove xalan.jar 
>and xsltc.jar
>but the result is the same!?
>

Try Saxon. I always try Saxon before blaming Xalan.

Vadim


>This happens only if I have <strip-space elements="..."/> in the stylesheet.
>
>
>Michael
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to