cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Backstrom <>
Subject Problem With Stream Generator
Date Tue, 13 Mar 2007 23:15:13 GMT

I'm posting an xml and xsl as form fields to transform to fop/pdf using 
these pipeline settings in my sitemap.xmap

    <map:pipeline internal-only="true">
        <map:match pattern="xml">
            <map:generate type="stream">
                <map:parameter name="form-name" value="xml"/>
                <map:parameter name="defaultContentType" value="text/xml"/>
            <map:serialize type="xml"/>
        <map:match pattern="xsl">
            <map:generate type="stream">
                <map:parameter name="form-name" value="template"/>
                <map:parameter name="defaultContentType" value="text/xml"/>
            <map:serialize type="xml"/>
        <map:match pattern="*">
            <map:generate src="cocoon:/xml"/>
            <map:transform src="cocoon:/xsl"/>
            <map:select type="request-parameter">
                <map:parameter name="parameter-name" value="_xf"/>
                <map:when test="rtf">
                    <map:serialize type="fo2rtf"/>
                    <map:serialize type="fo2pdf"/>

In Cocoon running on Tomcat these sitemap pipelines it works 
perfectly when I try on Cocoon 2.1.10 running on the included Jetty 
server I now get this message

          The ' = ' character must follow "version" in the XML declaration.

except nothing in the xml / xsl inputs has changed.

Does anybody have any ideas? Thanks in advance.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message