Hello,

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

<map:pipelines>
   <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:generate>
           <map:serialize type="xml"/>
       </map:match>
       <map:match pattern="xsl">
           <map:generate type="stream">
               <map:parameter name="form-name" value="template"/>
               <map:parameter name="defaultContentType" value="text/xml"/>
           </map:generate>
           <map:serialize type="xml"/>
       </map:match>
   </map:pipeline>
   <map:pipeline>
       <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:when>
               <map:otherwise>
                   <map:serialize type="fo2pdf"/>
               </map:otherwise>
           </map:select>
       </map:match>
   </map:pipeline>
</map:pipelines>

In Cocoon 2.1.5.1 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


>>
org.xml.sax.SAXParseException:
         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.

Carl*
*

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

Reply via email to