You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luis Javier Beltran <lb...@aerocontinente.com.pe> on 2004/05/29 03:35:28 UTC

SAXException while working with the sql transformer

Hello everybody,

I'm getting this SAXException: Unrecognized file format.

It's weird because yesterday it was working ok,  and I don't remember 
making any changes...
well, this exception is thrown when I use the sql transformer. My 
sitemap.xmap is as follows:

<map:match pattern="qry.xml">
    <map:aggregate element="document">
        <map:part src="dm/rep.xml"/>
            <map:part src="dm/def.xml"/>
        </map:aggregate>
        <map:transform src="dm/sqlgen.xsl"/>
        <map:transform type="sql">
            <map:parameter name="use-connection" value="CON-MYSQL"/>
            <map:parameter name="show-nr-of-rows" value="true"/>
            <map:parameter name="clob-encoding" value="UTF-8"/>
        </map:transform>
        <map:serialize type="xml"/>
 </map:match>

if I comment the <map:transform type="sql"> part, it works ok, even if I 
create an xml file based on this output and put a <map:generate> tag 
instead of the <map:aggregate> and the first <map:transform> it works.

I really don't know where to start, I don't understant this error.

Help please!

Luis Javier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org