Basic output of instance doc?

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

Basic output of instance doc?

Duane Gran-2
I'm migrating a simple XForm from Firefox+XForm to Orbeon and I'm having a little trouble getting to my basic instance document when submitting the form.  I'm using  the following submission code:

<xforms:submission action="file:///tmp/mods_orbeon.xml" method="put" id="submit"
        replace="none"/>

<xforms:submit submission="submit">
        <xforms:label>Write to disk</xforms:label>
      </xforms:submit>

At this stage of development I would like to keep things as simple as possible, realizing that later I may use eXist or some server-side processing to handle the form submission.  I scoured the documentation but I seem to be overlooking how I might produce a simple screen-readable version of the instance document.  Can someone advise me on this?  Thank you.

Duane Gran



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Erik Bruchez
Administrator
Duane,

You cannot use the "file:" scheme for XForms submission with Orbeon
PresentationServer. Currently, only the "http:" and "https:" schemes
are supported.

Even if emplemented, this would probably not have the effect you are
looking for, since the submission would happen on your server, and not
on your client as you may exepct. As we discussed earlier in this
mailing-list, submitting on the client (or even reading from it) is
prevented by your browser's security policies.

The easiest thing to do is to setup a simple service, with OPS or
otherwise, which is able to receive and display the result of your
submission with a POST. This is in fact almost trivial with OPS: setup
a page matchint the URL of your submission, and use either a model or
action pipeline to read its "instance" input and save it on disk with
the File serializer.

-Erik

[hidden email] wrote:

 > I'm migrating a simple XForm from Firefox+XForm to Orbeon and I'm
 > having a little trouble getting to my basic instance document when
 > submitting the form.  I'm using the following submission code:
 >
 > <xforms:submission action="file:///tmp/mods_orbeon.xml" method="put"
id="submit"
 >         replace="none"/>
 >
 > <xforms:submit submission="submit">
 >         <xforms:label>Write to disk</xforms:label>
 >       </xforms:submit>
 >
 > At this stage of development I would like to keep things as simple
 > as possible, realizing that later I may use eXist or some
 > server-side processing to handle the form submission.  I scoured the
 > documentation but I seem to be overlooking how I might produce a
 > simple screen-readable version of the instance document.  Can
 > someone advise me on this?  Thank you.
 >
 > Duane Gran



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Basic output of instance doc?

Duane Gran-2
>The easiest thing to do is to setup a simple service, with OPS or
>otherwise, which is able to receive and display the result of your
>submission with a POST. This is in fact almost trivial with OPS: setup
>a page matchint the URL of your submission, and use either a model or
>action pipeline to read its "instance" input and save it on disk with
>the File serializer.

Thank you for the explanation.  Can you tell me if there is a good example to follow for this?  I'm pouring over the tutorial and the samples, but I'm having a hard time pairing your advice with proper syntax.

Duane



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Duane Gran

On Nov 29, 2005, at 4:24 PM, [hidden email] wrote:

>> The easiest thing to do is to setup a simple service, with OPS or
>> otherwise, which is able to receive and display the result of your
>> submission with a POST. This is in fact almost trivial with OPS:  
>> setup
>> a page matchint the URL of your submission, and use either a model or
>> action pipeline to read its "instance" input and save it on disk with
>> the File serializer.
>
> Thank you for the explanation.  Can you tell me if there is a good  
> example to follow for this?  I'm pouring over the tutorial and the  
> samples, but I'm having a hard time pairing your advice with proper  
> syntax.
>
Upon further reflection, I believe I may be closer to understanding  
your answer but I must be overlooking something.  I have two pages,  
one for data entry and the other for results.  Eventually I want the  
results page to display the instance document, but in the meantime  
writing to the filesystem is a good start.  Below is my page flow:

     <page id="initial_form" path-info="/xforms-mods" view="mods-
editor-view.xml"/>
     <page id="results" path-info="/xforms-mods/results"  
model="model.xpl" view="mods-results-view.xml"/>

And here is the model (model.xpl) for the second page (results),  
which should create the file, but doesn't:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
   xmlns:oxf="http://www.orbeon.com/oxf/processors">
   <p:processor name="oxf:file-serializer">

     <p:input name="config">
       <config>
         <file>mods-result.xml</file>
         <directory>/tmp</directory>
       </config>
     </p:input>
     <p:input name="data" href="#instance"/>
   </p:processor>
</p:config>

Any ideas why this may be happening?  I'm at a loss and appreciate  
any suggestions on this.

Duane



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Erik Bruchez
Administrator
Duane Gran wrote:

 > Upon further reflection, I believe I may be closer to understanding
 > your answer but I must be overlooking something.  I have two pages,
 > one for data entry and the other for results.  Eventually I want the
 > results page to display the instance document, but in the meantime
 > writing to the filesystem is a good start.  Below is my page flow:
 >
 >     <page id="initial_form" path-info="/xforms-mods" view="mods-
 > editor-view.xml"/>
 >     <page id="results" path-info="/xforms-mods/results"
 > model="model.xpl" view="mods-results-view.xml"/>
 >
 > And here is the model (model.xpl) for the second page (results),  which
 > should create the file, but doesn't:
 >
 > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
 >   xmlns:oxf="http://www.orbeon.com/oxf/processors">
 >   <p:processor name="oxf:file-serializer">
 >
 >     <p:input name="config">
 >       <config>
 >         <file>mods-result.xml</file>
 >         <directory>/tmp</directory>
 >       </config>
 >     </p:input>
 >     <p:input name="data" href="#instance"/>
 >   </p:processor>
 > </p:config>
 >
 > Any ideas why this may be happening?  I'm at a loss and appreciate  any
 > suggestions on this.

Your pipeline does not declare an "instance" parameter. Then you also
need an oxf:xml-converter processor before the oxf:file-serializer.

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
           xmlns:oxf="http://www.orbeon.com/oxf/processors">

     <p:param name="instance" type="input"/>

     <p:processor name="oxf:xml-converter">
         <p:input name="config">
             <config/>
         </p:input>
         <p:input name="data" href="#instance"/>
         <p:output name="data" id="converted"/>
     </p:processor>

     <p:processor name="oxf:file-serializer">
         <p:input name="config">
             <config>
                 <file>mods-result.xml</file>
                 <directory>/tmp</directory>
             </config>
         </p:input>
         <p:input name="data" href="#converter"/>
     </p:processor>
</p:config>

Be also sure to check in the logs that your submission in fact is
calling /xforms-mods/results. If it is not, you will have to check
your xforms:submission element. Also remember that a submission will
work only if the instance is valid and if required values are not
empty. Otherwise, an xforms-submit-error event is thrown.

-Erik




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Duane Gran
Erik,

Thank you for the suggestion below.  I corrected a typo near the  
bottom (converted, rather than converter) and it works, however the  
output appears to have some entities inserted in place of angle  
brackets for the elements.  It is easier for me to paste a little bit  
of the output than to explain:

<?xml version="1.0" encoding="utf-8"?>
<document xsi:type="xs:string" content-type="application/xml;  
charset=utf-8">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;form xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:oxf="http://
www.orbeon.com/oxf/processors" xmlns:xi="http://www.w3.org/2003/ 
XInclude" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"  
xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext"  
xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:p="http://
www.orbeon.com/oxf/pipeline" xmlns:ev="http://www.w3.org/2001/xml- 
events" xmlns:xforms="http://www.w3.org/2002/xforms"&gt;
                                                       &lt;action/&gt;
                                                       &lt;show-
details&gt;true&lt;/show-details&gt;
                                                       
&lt;view&gt;form&lt;/view&gt;
                                                       &lt;global-
validation/&gt;
                                                       &lt;mods  
xml:base="oxf:/examples/xforms/xforms-mods/mods_v3-1_instance.xml"&gt;
                                                           
&lt;titleInfo&gt;

Immediately I notice two xml declarations at the top of the file, but  
I'm not sure why this is happening.  Any ideas on what is happening  
here?

Duane

> > Any ideas why this may be happening?  I'm at a loss and  
> appreciate  any
> > suggestions on this.
>
> Your pipeline does not declare an "instance" parameter. Then you also
> need an oxf:xml-converter processor before the oxf:file-serializer.
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>           xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>     <p:param name="instance" type="input"/>
>
>     <p:processor name="oxf:xml-converter">
>         <p:input name="config">
>             <config/>
>         </p:input>
>         <p:input name="data" href="#instance"/>
>         <p:output name="data" id="converted"/>
>     </p:processor>
>
>     <p:processor name="oxf:file-serializer">
>         <p:input name="config">
>             <config>
>                 <file>mods-result.xml</file>
>                 <directory>/tmp</directory>
>             </config>
>         </p:input>
>         <p:input name="data" href="#converter"/>
>     </p:processor>
> </p:config>
>
> Be also sure to check in the logs that your submission in fact is
> calling /xforms-mods/results. If it is not, you will have to check
> your xforms:submission element. Also remember that a submission will
> work only if the instance is valid and if required values are not
> empty. Otherwise, an xforms-submit-error event is thrown.
>
> -Erik
>
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Duane Gran
Erik (and others),

I don't want to lean on the list too much, but I have a related  
problem that is puzzling me.  OPS doesn't reliably produce the output  
file (/tmp/mods-result.xml) and I can't figure out why sometimes it  
works and other times it doesn't.  I've tried restarting Tomcat, but  
to no avail.  My form is simple with no bindings, so I don't believe  
there could be any xforms-submit-error event.  Can anyone suggest a  
reason for why the file is created intermittently or how I might  
debug this?

Duane

On Nov 30, 2005, at 10:03 AM, Duane Gran wrote:

> Erik,
>
> Thank you for the suggestion below.  I corrected a typo near the  
> bottom (converted, rather than converter) and it works, however the  
> output appears to have some entities inserted in place of angle  
> brackets for the elements.  It is easier for me to paste a little  
> bit of the output than to explain:
>
> <?xml version="1.0" encoding="utf-8"?>
> <document xsi:type="xs:string" content-type="application/xml;  
> charset=utf-8">&lt;?xml version="1.0" encoding="utf-8"?&gt;
> &lt;form xmlns:xhtml="http://www.w3.org/1999/xhtml"  
> xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xi="http://
> www.w3.org/2003/XInclude" xmlns:xxforms="http://orbeon.org/oxf/xml/ 
> xforms"  
> xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext"  
> xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:p="http://
> www.orbeon.com/oxf/pipeline" xmlns:ev="http://www.w3.org/2001/xml- 
> events" xmlns:xforms="http://www.w3.org/2002/xforms"&gt;
>                                                       &lt;action/&gt;
>                                                       &lt;show-
> details&gt;true&lt;/show-details&gt;
>                                                        
> &lt;view&gt;form&lt;/view&gt;
>                                                       &lt;global-
> validation/&gt;
>                                                       &lt;mods  
> xml:base="oxf:/examples/xforms/xforms-mods/mods_v3-1_instance.xml"&gt;
>                                                            
> &lt;titleInfo&gt;
>
> Immediately I notice two xml declarations at the top of the file,  
> but I'm not sure why this is happening.  Any ideas on what is  
> happening here?
>
> Duane
>
>> > Any ideas why this may be happening?  I'm at a loss and  
>> appreciate  any
>> > suggestions on this.
>>
>> Your pipeline does not declare an "instance" parameter. Then you also
>> need an oxf:xml-converter processor before the oxf:file-serializer.
>>
>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>>           xmlns:oxf="http://www.orbeon.com/oxf/processors">
>>
>>     <p:param name="instance" type="input"/>
>>
>>     <p:processor name="oxf:xml-converter">
>>         <p:input name="config">
>>             <config/>
>>         </p:input>
>>         <p:input name="data" href="#instance"/>
>>         <p:output name="data" id="converted"/>
>>     </p:processor>
>>
>>     <p:processor name="oxf:file-serializer">
>>         <p:input name="config">
>>             <config>
>>                 <file>mods-result.xml</file>
>>                 <directory>/tmp</directory>
>>             </config>
>>         </p:input>
>>         <p:input name="data" href="#converter"/>
>>     </p:processor>
>> </p:config>
>>
>> Be also sure to check in the logs that your submission in fact is
>> calling /xforms-mods/results. If it is not, you will have to check
>> your xforms:submission element. Also remember that a submission will
>> work only if the instance is valid and if required values are not
>> empty. Otherwise, an xforms-submit-error event is thrown.
>>
>> -Erik
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://
>> www.objectweb.org/wws
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Erik Bruchez
Administrator
In reply to this post by Duane Gran
Duane,

This could have happened with older versions of OPS, but not with recent
ones, although I can't right now tell you exactly at what point the
change was made. When version are you using?

-Erik

Duane Gran wrote:

> Erik,
>
> Thank you for the suggestion below.  I corrected a typo near the  bottom
> (converted, rather than converter) and it works, however the  output
> appears to have some entities inserted in place of angle  brackets for
> the elements.  It is easier for me to paste a little bit  of the output
> than to explain:
>
> <?xml version="1.0" encoding="utf-8"?>
> <document xsi:type="xs:string" content-type="application/xml;  
> charset=utf-8">&lt;?xml version="1.0" encoding="utf-8"?&gt;
> &lt;form xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:oxf="http://
> www.orbeon.com/oxf/processors" xmlns:xi="http://www.w3.org/2003/ 
> XInclude" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"  
> xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext"  
> xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:p="http://
> www.orbeon.com/oxf/pipeline" xmlns:ev="http://www.w3.org/2001/xml- 
> events" xmlns:xforms="http://www.w3.org/2002/xforms"&gt;
>                                                       &lt;action/&gt;
>                                                       &lt;show-
> details&gt;true&lt;/show-details&gt;
>                                                        
> &lt;view&gt;form&lt;/view&gt;
>                                                       &lt;global-
> validation/&gt;
>                                                       &lt;mods  
> xml:base="oxf:/examples/xforms/xforms-mods/mods_v3-1_instance.xml"&gt;
>                                                            
> &lt;titleInfo&gt;
>
> Immediately I notice two xml declarations at the top of the file, but  
> I'm not sure why this is happening.  Any ideas on what is happening  here?
>
> Duane
>
>> > Any ideas why this may be happening?  I'm at a loss and  appreciate  
>> any
>> > suggestions on this.
>>
>> Your pipeline does not declare an "instance" parameter. Then you also
>> need an oxf:xml-converter processor before the oxf:file-serializer.
>>
>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>>           xmlns:oxf="http://www.orbeon.com/oxf/processors">
>>
>>     <p:param name="instance" type="input"/>
>>
>>     <p:processor name="oxf:xml-converter">
>>         <p:input name="config">
>>             <config/>
>>         </p:input>
>>         <p:input name="data" href="#instance"/>
>>         <p:output name="data" id="converted"/>
>>     </p:processor>
>>
>>     <p:processor name="oxf:file-serializer">
>>         <p:input name="config">
>>             <config>
>>                 <file>mods-result.xml</file>
>>                 <directory>/tmp</directory>
>>             </config>
>>         </p:input>
>>         <p:input name="data" href="#converter"/>
>>     </p:processor>
>> </p:config>
>>
>> Be also sure to check in the logs that your submission in fact is
>> calling /xforms-mods/results. If it is not, you will have to check
>> your xforms:submission element. Also remember that a submission will
>> work only if the instance is valid and if required values are not
>> empty. Otherwise, an xforms-submit-error event is thrown.
>>
>> -Erik


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Erik Bruchez
Administrator
In reply to this post by Duane Gran
Duane,

The file really should be created everytime.

I have just found out that the other change I was talking about earlier
in this thread was made on 2005-08-30, which is after OPS 3.0 beta 2 and
before OPS 3.0 beta 3. If you are using beta 3, you should be all right!

-Erik

Duane Gran wrote:

> Erik (and others),
>
> I don't want to lean on the list too much, but I have a related  problem
> that is puzzling me.  OPS doesn't reliably produce the output  file
> (/tmp/mods-result.xml) and I can't figure out why sometimes it  works
> and other times it doesn't.  I've tried restarting Tomcat, but  to no
> avail.  My form is simple with no bindings, so I don't believe  there
> could be any xforms-submit-error event.  Can anyone suggest a  reason
> for why the file is created intermittently or how I might  debug this?
>
> Duane


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Duane Gran
Erik,

Thanks for the suggestion.  I'm running version 3.0 beta 2 and it  
appears that this is the latest version from the web site:

   http://www.orbeon.com/community/downloads

Maybe I'm overlooking the download link for beta 3.  Possibly it is  
only available in cvs?

Duane

On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:

> Duane,
>
> The file really should be created everytime.
>
> I have just found out that the other change I was talking about  
> earlier in this thread was made on 2005-08-30, which is after OPS  
> 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you  
> should be all right!
>
> -Erik
>
> Duane Gran wrote:
>> Erik (and others),
>> I don't want to lean on the list too much, but I have a related  
>> problem that is puzzling me.  OPS doesn't reliably produce the  
>> output  file (/tmp/mods-result.xml) and I can't figure out why  
>> sometimes it  works and other times it doesn't.  I've tried  
>> restarting Tomcat, but  to no avail.  My form is simple with no  
>> bindings, so I don't believe  there could be any xforms-submit-
>> error event.  Can anyone suggest a  reason for why the file is  
>> created intermittently or how I might  debug this?
>> Duane
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Robert Bateman
Duane,

  I missed it too - until I found:

http://forge.objectweb.org/project/showfiles.php?group_id=168

Beta 3 is there.

Bob

On Mon, 2005-12-05 at 14:03 -0500, Duane Gran wrote:

> Erik,
>
> Thanks for the suggestion.  I'm running version 3.0 beta 2 and it  
> appears that this is the latest version from the web site:
>
>    http://www.orbeon.com/community/downloads
>
> Maybe I'm overlooking the download link for beta 3.  Possibly it is  
> only available in cvs?
>
> Duane
>
> On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:
>
> > Duane,
> >
> > The file really should be created everytime.
> >
> > I have just found out that the other change I was talking about  
> > earlier in this thread was made on 2005-08-30, which is after OPS  
> > 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you  
> > should be all right!
> >
> > -Erik
> >
> > Duane Gran wrote:
> >> Erik (and others),
> >> I don't want to lean on the list too much, but I have a related  
> >> problem that is puzzling me.  OPS doesn't reliably produce the  
> >> output  file (/tmp/mods-result.xml) and I can't figure out why  
> >> sometimes it  works and other times it doesn't.  I've tried  
> >> restarting Tomcat, but  to no avail.  My form is simple with no  
> >> bindings, so I don't believe  there could be any xforms-submit-
> >> error event.  Can anyone suggest a  reason for why the file is  
> >> created intermittently or how I might  debug this?
> >> Duane
> >
> >
> > --
> > You receive this message as a subscriber of the ops-
> > [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> > wws
>
>
> plain text document attachment (message-footer.txt)
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Bob Bateman
The Computer Guy
Sequoia Group LLC
248 414-7288
248 414-7541 (fax)




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Alessandro  Vernet
Administrator
In reply to this post by Duane Gran
Hi Duane,

The link on the web site of out of date: a beta 3 has been released in
September, and major improvements have been done since then in the
"unstable builds". You can get the beta 3 from the first link below,
but I would rather recommend you work with an "unstable build", which
you can get from the second link below.

http://forge.objectweb.org/project/showfiles.php?group_id=168
http://forge.objectweb.org/nightlybuilds/ops/ops/

Alex

On 12/5/05, Duane Gran <[hidden email]> wrote:

> Erik,
>
> Thanks for the suggestion.  I'm running version 3.0 beta 2 and it
> appears that this is the latest version from the web site:
>
>    http://www.orbeon.com/community/downloads
>
> Maybe I'm overlooking the download link for beta 3.  Possibly it is
> only available in cvs?
>
> Duane
>
> On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:
>
> > Duane,
> >
> > The file really should be created everytime.
> >
> > I have just found out that the other change I was talking about
> > earlier in this thread was made on 2005-08-30, which is after OPS
> > 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you
> > should be all right!
> >
> > -Erik
> >
> > Duane Gran wrote:
> >> Erik (and others),
> >> I don't want to lean on the list too much, but I have a related
> >> problem that is puzzling me.  OPS doesn't reliably produce the
> >> output  file (/tmp/mods-result.xml) and I can't figure out why
> >> sometimes it  works and other times it doesn't.  I've tried
> >> restarting Tomcat, but  to no avail.  My form is simple with no
> >> bindings, so I don't believe  there could be any xforms-submit-
> >> error event.  Can anyone suggest a  reason for why the file is
> >> created intermittently or how I might  debug this?
> >> Duane
> >
> >
> > --
> > You receive this message as a subscriber of the ops-
> > [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/
> > wws
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Alessandro  Vernet
Administrator
In reply to this post by Robert Bateman
We will release a beta 4 soon and this time we'll think about updating
the web site :).

Alex

On 12/5/05, Robert Bateman <[hidden email]> wrote:

> Duane,
>
>   I missed it too - until I found:
>
> http://forge.objectweb.org/project/showfiles.php?group_id=168
>
> Beta 3 is there.
>
> Bob
>
> On Mon, 2005-12-05 at 14:03 -0500, Duane Gran wrote:
> > Erik,
> >
> > Thanks for the suggestion.  I'm running version 3.0 beta 2 and it
> > appears that this is the latest version from the web site:
> >
> >    http://www.orbeon.com/community/downloads
> >
> > Maybe I'm overlooking the download link for beta 3.  Possibly it is
> > only available in cvs?
> >
> > Duane
> >
> > On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:
> >
> > > Duane,
> > >
> > > The file really should be created everytime.
> > >
> > > I have just found out that the other change I was talking about
> > > earlier in this thread was made on 2005-08-30, which is after OPS
> > > 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you
> > > should be all right!
> > >
> > > -Erik
> > >
> > > Duane Gran wrote:
> > >> Erik (and others),
> > >> I don't want to lean on the list too much, but I have a related
> > >> problem that is puzzling me.  OPS doesn't reliably produce the
> > >> output  file (/tmp/mods-result.xml) and I can't figure out why
> > >> sometimes it  works and other times it doesn't.  I've tried
> > >> restarting Tomcat, but  to no avail.  My form is simple with no
> > >> bindings, so I don't believe  there could be any xforms-submit-
> > >> error event.  Can anyone suggest a  reason for why the file is
> > >> created intermittently or how I might  debug this?
> > >> Duane
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the ops-
> > > [hidden email] mailing list.
> > > To unsubscribe: mailto:[hidden email]
> > > For general help: mailto:[hidden email]?subject=help
> > > ObjectWeb mailing lists service home page: http://www.objectweb.org/
> > > wws
> >
> >
> > plain text document attachment (message-footer.txt)
> > --
> > 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
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> --
> Bob Bateman
> The Computer Guy
> Sequoia Group LLC
> 248 414-7288
> 248 414-7541 (fax)
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Duane Gran
In reply to this post by Alessandro Vernet
Alex,

Thank you.  I'm now running the nightly release (as of 5 Dec) and  
unfortunately the file still isn't created.  I'm running this under  
Tomcat 4.1.31 and I'm monitoring catalina.out for any errors, but I  
don't see any indication of a problem.  I'm sure it is a problem in  
my configuration, but is there a verbose debugging mode that might  
reveal the source of the problem?

Duane

On Dec 5, 2005, at 3:34 PM, Alessandro Vernet wrote:

> Hi Duane,
>
> The link on the web site of out of date: a beta 3 has been released in
> September, and major improvements have been done since then in the
> "unstable builds". You can get the beta 3 from the first link below,
> but I would rather recommend you work with an "unstable build", which
> you can get from the second link below.
>
> http://forge.objectweb.org/project/showfiles.php?group_id=168
> http://forge.objectweb.org/nightlybuilds/ops/ops/
>
> Alex
>
> On 12/5/05, Duane Gran <[hidden email]> wrote:
>> Erik,
>>
>> Thanks for the suggestion.  I'm running version 3.0 beta 2 and it
>> appears that this is the latest version from the web site:
>>
>>    http://www.orbeon.com/community/downloads
>>
>> Maybe I'm overlooking the download link for beta 3.  Possibly it is
>> only available in cvs?
>>
>> Duane
>>
>> On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:
>>
>>> Duane,
>>>
>>> The file really should be created everytime.
>>>
>>> I have just found out that the other change I was talking about
>>> earlier in this thread was made on 2005-08-30, which is after OPS
>>> 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you
>>> should be all right!
>>>
>>> -Erik
>>>
>>> Duane Gran wrote:
>>>> Erik (and others),
>>>> I don't want to lean on the list too much, but I have a related
>>>> problem that is puzzling me.  OPS doesn't reliably produce the
>>>> output  file (/tmp/mods-result.xml) and I can't figure out why
>>>> sometimes it  works and other times it doesn't.  I've tried
>>>> restarting Tomcat, but  to no avail.  My form is simple with no
>>>> bindings, so I don't believe  there could be any xforms-submit-
>>>> error event.  Can anyone suggest a  reason for why the file is
>>>> created intermittently or how I might  debug this?
>>>> Duane
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/
>>> wws
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://
>> www.objectweb.org/wws
>>
>>
>>
>
>
> --
> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Alessandro  Vernet
Administrator
Duane,

Is there some code that you can share with us in the mailing list and
that we can run locally to reproduce the problem you are having?

Alex

On 12/5/05, Duane Gran <[hidden email]> wrote:

> Alex,
>
> Thank you.  I'm now running the nightly release (as of 5 Dec) and
> unfortunately the file still isn't created.  I'm running this under
> Tomcat 4.1.31 and I'm monitoring catalina.out for any errors, but I
> don't see any indication of a problem.  I'm sure it is a problem in
> my configuration, but is there a verbose debugging mode that might
> reveal the source of the problem?
>
> Duane
>
> On Dec 5, 2005, at 3:34 PM, Alessandro Vernet wrote:
>
> > Hi Duane,
> >
> > The link on the web site of out of date: a beta 3 has been released in
> > September, and major improvements have been done since then in the
> > "unstable builds". You can get the beta 3 from the first link below,
> > but I would rather recommend you work with an "unstable build", which
> > you can get from the second link below.
> >
> > http://forge.objectweb.org/project/showfiles.php?group_id=168
> > http://forge.objectweb.org/nightlybuilds/ops/ops/
> >
> > Alex
> >
> > On 12/5/05, Duane Gran <[hidden email]> wrote:
> >> Erik,
> >>
> >> Thanks for the suggestion.  I'm running version 3.0 beta 2 and it
> >> appears that this is the latest version from the web site:
> >>
> >>    http://www.orbeon.com/community/downloads
> >>
> >> Maybe I'm overlooking the download link for beta 3.  Possibly it is
> >> only available in cvs?
> >>
> >> Duane
> >>
> >> On Dec 5, 2005, at 10:44 AM, Erik Bruchez wrote:
> >>
> >>> Duane,
> >>>
> >>> The file really should be created everytime.
> >>>
> >>> I have just found out that the other change I was talking about
> >>> earlier in this thread was made on 2005-08-30, which is after OPS
> >>> 3.0 beta 2 and before OPS 3.0 beta 3. If you are using beta 3, you
> >>> should be all right!
> >>>
> >>> -Erik
> >>>
> >>> Duane Gran wrote:
> >>>> Erik (and others),
> >>>> I don't want to lean on the list too much, but I have a related
> >>>> problem that is puzzling me.  OPS doesn't reliably produce the
> >>>> output  file (/tmp/mods-result.xml) and I can't figure out why
> >>>> sometimes it  works and other times it doesn't.  I've tried
> >>>> restarting Tomcat, but  to no avail.  My form is simple with no
> >>>> bindings, so I don't believe  there could be any xforms-submit-
> >>>> error event.  Can anyone suggest a  reason for why the file is
> >>>> created intermittently or how I might  debug this?
> >>>> Duane
> >>>
> >>>
> >>> --
> >>> You receive this message as a subscriber of the ops-
> >>> [hidden email] mailing list.
> >>> To unsubscribe: mailto:[hidden email]
> >>> For general help: mailto:[hidden email]?subject=help
> >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/
> >>> wws
> >>
> >>
> >>
> >>
> >>
> >> --
> >> You receive this message as a subscriber of the ops-
> >> [hidden email] mailing list.
> >> To unsubscribe: mailto:[hidden email]
> >> For general help: mailto:[hidden email]?subject=help
> >> ObjectWeb mailing lists service home page: http://
> >> www.objectweb.org/wws
> >>
> >>
> >>
> >
> >
> > --
> > Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
> >
> >
> > --
> > You receive this message as a subscriber of the ops-
> > [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/
> > wws
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Basic output of instance doc?

Erik Bruchez
Administrator
In reply to this post by Duane Gran
 > Thank you.  I'm now running the nightly release (as of 5 Dec) and
 > unfortunately the file still isn't created.  I'm running this under
 > Tomcat 4.1.31 and I'm monitoring catalina.out for any errors, but I
 > don't see any indication of a problem.  I'm sure it is a problem in
 > my configuration, but is there a verbose debugging mode that might
 > reveal the source of the problem?

The usual strategy in such a case is to use "debug" attributes on
processors inputs and outputs to get some visibility.

-Erik




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws