Thanx, I removed that comment in login-html.xsl and it worked. The comment was 

<!-- Next transformation is "TO-html.xsl" -->

The endorses dir should be correct, since the rest of cocoon works fine. It contains 
xalan-2.5.1.jar etc.

The problem was probably caused by the '"'. I just wonder why this normally works...

Greetings and thanks for your help, Hauke

P.S. I have used a source distribution snapshot ca. 3 weeks old.

_______________________
Hauke Ernst
Bendit GmbH
Innovative Interfaces
Fahrenheitstr. 1
D-28359 Bremen
mobil +49 (174) 3224679
fon +49 (421) 2208408
fax +49 (421) 2208407
email [EMAIL PROTECTED]
_______________________

> -----Urspr�ngliche Nachricht-----
> Von: Joerg Heinicke [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 21. September 2003 10:44
> An: [EMAIL PROTECTED]
> Betreff: Re: A stupid Question on Portal Framework
> 
> There are almost no stupid questions :-)
> 
> As you can see it's the transformation step. It's difficult to see,
> what's the reason for this, but I guess (because it normally works) that
>   you don't use a newer Xalan version through the endorsed libs problem.
> Can you please check the Xalan version in use by testing with
> environment.xsl as described at
> http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError ?
> 
> On the other hand the exception seems to be thrown because of a comment.
> Maybe it works if you simply remove the comments.
> 
> Joerg
> 
> Hauke Ernst wrote:
> 
> > Hello,
> >
> > I am sorry for a probably stupid question, but I just wanted to try the
> > portal framework with the sunspotdemo-portal, but I get an exception
> > directly after starting it on the left side of the frameset  (see
> > below). Maybe someone knows the solution, before I try to find the
> > problem by myself?
> >
> >
> > Regards, Hauke
> >
> >
> >
> > An Error Occurred
> > Unable to get transformer handler for styles/login-html.xsl
> >
> > org.apache.cocoon.ProcessingException: Unable to get transformer handler
> > for styles/login-html.xsl:
> > org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in
> > creating Transform Handler
> >
> > cause: java.lang.NullPointerException
> >
> > full exception chain stacktrace[hide]
> >
> > Original Exception:
> > org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in
> > creating Transform Handler
> >     at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAnd
> > Validity(XSLTProcessorImpl.java:380)
> 
> ...
> 
> > Caused by: java.lang.NullPointerException
> >     at
> > org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.comment(SAX2DTM.java:2486)
> >     at
> > org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.comment(IncrementalSA
> > XSource_Filter.java:397)
> >     at
> > org.apache.xalan.transformer.TransformerHandlerImpl.comment(TransformerH
> > andlerImpl.java:933)
> >     at
> > org.apache.cocoon.xml.AbstractXMLPipe.comment(AbstractXMLPipe.java:265)
> >     at
> > org.apache.excalibur.xml.impl.JaxpParser$DtdCommentEater.comment(JaxpPar
> > ser.java:540)
> >     at org.apache.xerces.parsers.AbstractSAXParser.comment(Unknown
> > Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknow
> > n Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
> > patcher.dispatch(Unknown Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
> > wn Source)
> >     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > Source)
> >     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> > Source)
> >     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > Source)
> >     at
> > org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
> >     at
> > org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:16
> > 1)
> >     at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcesso
> > rImpl.java:396)
> >     at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAnd
> > Validity(XSLTProcessorImpl.java:311)
> >     ... 61 more
> >
> >
> > Original Exception: java.lang.NullPointerException
> >     at
> > org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.comment(SAX2DTM.java:2486)
> >     at
> > org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.comment(IncrementalSA
> > XSource_Filter.java:397)
> >     at
> > org.apache.xalan.transformer.TransformerHandlerImpl.comment(TransformerH
> > andlerImpl.java:933)
> >     at
> > org.apache.cocoon.xml.AbstractXMLPipe.comment(AbstractXMLPipe.java:265)
> >     at
> > org.apache.excalibur.xml.impl.JaxpParser$DtdCommentEater.comment(JaxpPar
> > ser.java:540)
> >     at org.apache.xerces.parsers.AbstractSAXParser.comment(Unknown
> > Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknow
> > n Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
> > patcher.dispatch(Unknown Source)
> >     at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
> > wn Source)
> >     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > Source)
> >     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> > Source)
> >     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > Source)
> >     at
> > org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
> >     at
> > org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:16
> > 1)
> >     at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcesso
> > rImpl.java:396)
> >     at
> > org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAnd
> > Validity(XSLTProcessorImpl.java:311)
> >     at
> > org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.j
> > ava:302)
> 
> ...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to