cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Ottaviano <>
Subject cocoon 2.19 : simple-xml binding does not work with non file sources
Date Mon, 18 Sep 2006 09:58:09 GMT
Good morning cocoon word,
I've a problems with the form block.
I want to use the binding capabilities starting using the example 
called  at direction: "samples/blocks/forms/form2simpleXML.flow"

If I use as bind reference a cocoon resource this does not work proprerly
This works fine but if I put as URIdocument a pipeline process as folllow

<map:match pattern="form2simpleXML.flow">
       <map:call function="handleForm">
         <map:parameter name="function" value="form2simpleXML"/>
         <map:parameter name="definitionURI" value="forms/form2_model.xml"/>
         <!-- <map:parameter name="documentURI" 
value="forms/form2_simple_data.xml"/> -->
         <map:parameter name="documentURI" 
     <map:match pattern="forms/form2_simple_data.xml">
       <map:generate src="forms/form2_simple_data.xml"/>
       <map:serialize type="xml" />

Calling this pipeline cocoon generates this error

"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 285: 
The choice of Java method 
org.apache.cocoon.components.source.SourceUtil.toSAX matching JavaScript 
argument types 

is ambiguous; candidate methods are: void 

I've found the same bug report at this link , but onl,y for the version 
2.2 in development

here the issue:

How I can resolve this problem ?I try to use this patch but it seems to 
not work properly in my cocoon

Thanks very much

manuel ottaviano

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

View raw message