File Serializer fails to save data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

File Serializer fails to save data

adev
Hi,

In my application User inputs data in the xform.
Then the instance is passed on to an XPL, where with the help of "file-serailizer" processor, I am saving that
data into an xml file

Sample

*converted = xml data

<p:processor name="oxf:file-serializer">
      <p:input name="config" href="aggregate('config', aggregate('file', current()#xpointer(concat('C:\file-location\', string(/)))))"/>
      <p:input name="data" href="#converted"/>
    </p:processor> 

At times the data does not get saved in the file... the frequency of this is too less
Is it bug with the file serializer?

Thnaks



Reply | Threaded
Open this post in threaded view
|

Re: File Serializer fails to save data

Erik Bruchez
Administrator
I doubt it is a bug of the file serializer itself as we used it  
regularly.

You will need to provide more information to figure out what happens  
exactly. First, you can start adding a "debug" attribute on p:input:

   <p:input name="config" href="..." debug="my-debug">

This will allow you to check if the serializer reads its input. You  
can also enable XForms logging to see whether the XForms submission  
occurs:

   http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-logging

-Erik

On Apr 1, 2008, at 2:31 AM, adev wrote:

>
> Hi,
>
> In my application User inputs data in the xform.
> Then the instance is passed on to an XPL, where with the help of
> "file-serailizer" processor, I am saving that
> data into an xml file
>
> Sample
>
> *converted = xml data
>
> <p:processor name="oxf:file-serializer">
>      <p:input name="config" href="aggregate('config',  
> aggregate('file',
> current()#xpointer(concat('C:\file-location\', string(/)))))"/>
>      <p:input name="data" href="#converted"/>
>    </p:processor>
>
> At times the data does not get saved in the file... the frequency of  
> this is
> too less
> Is it bug with the file serializer?
>
> Thnaks
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws