Hello,

as soon as I put some blanks into an INPUT text/textarea field, I get the following 
output in my browser (cocoon2.0.1/tomcat4.0.1)
My pipeline looks as follows (works fine without blanks):
<map:pipeline>
        <map:match pattern="SCW/addNewFileOK">
                <map:select type="session-attribute">
                        <map:parameter name="attribute-name" value="isLoggedIn"/>
                        <map:when test="true">
                                <map:match type="sessionstate" pattern="*">
                                        <map:parameter name="attribute-name" 
value="lkz"/>
                                        <map:act type="request">
                                                <map:parameter name="parameters" 
value="true"/>
                                                <map:aggregate element="AddNewFileOK">
                                                        <!-- document itself is still 
missing - a mechanism how to access the file stored by it must be defined -->
                                                        <map:part 
src="http://scw_de:[EMAIL PROTECTED]:8888/BOLServlet/{IdType}Service.uploadDocument?Id={Id}&amp;Title={Title}&amp;DocType={DocType}&amp;Language={Language}&amp;Publisher={Publisher}&amp;Description={Description}&amp;SalesChannel={../1}"/>
                  
                                                        <map:part 
src="cocoon:/SCW/documentList?IdType={IdType}&amp;Id={Id}"/>
                                                </map:aggregate>
                                                <!-- <map:transform 
src="stylesheets/addNewFileOK.xsl"/>
                                                        <map:parameter 
name="use-request-parameters" value="true" />
                                                </map:transform> -->
                                                <map:serialize type="xml"/>            
                 
                                        </map:act>
                                </map:match>
                        </map:when>
                        <map:otherwise>
                                <map:read mime-type="text/html" 
src="http://139.21.207.160:8080/SCW/testLogin.html"/>   
                        </map:otherwise>
                </map:select>
        </map:match>    
</map:pipeline>

Thanks in advance,
Elmar

Browser output:

Cocoon 2 - Internal server error

type fatal
message null 
description java.lang.NullPointerException 
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri 
/BOLServlet/ProductService.uploadDocument
path-info 
ProductService.uploadDocument
<!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : 
#0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : 
white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} -->
Cocoon 2 - Internal server error

type fatal
message Failed to execute pipeline.
description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.xml.sax.SAXParseException: Attribute name "HR" must be followed by the '=' 
character.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/scworkflow/SCW/addNewFileOK
path-info
scworkflow/SCW/addNewFileOK
scworkflow/SCW/addNewFileOK


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to