template node mistakenly displayed in CVS version

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

template node mistakenly displayed in CVS version

Adrian Baker-2
I've just downloaded the latest CVS version of OPS, and I have a problem
with the template node of my repeating nodeset being incorrectly displayed.

Attached is an example (which runs fine under the stable sandbox on the
orbeon site) - clicking on the links down the left hand side adds rows
to the repeat on the right.

Under the CVS version, the node is added correctly to the underlying
xml, but the template node is mistakenly displayed instead of the newly
added row.

I think the problem is new, since it wasn't apparent in the CVS version
I updated to roughly 2 - 3 weeks ago. The row appears in the DOM
correctly, but mistakenly gets the xforms-disabled class, so I assume
the problem is on the server rather than in the javascript.

Adrian


--
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

badRepeatAdd.xhtml (49K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: TaminoDB

Jyri Vilokkinen
>
>
>Hi all.
>  
>

I have installing my computer Orbeon PresentationServer 3.0(OPS) + Apache
 Tomcat version5.0.28 + Java version jdk1.5.0_06. And my Taminoserver version
 is : 4.2.2.9  + Tamino DB.

Now I try take connection from my orbeonweb-page to Tamino DB.

-Anybody know what is best schema type ".xsd" or "tsd 4.2"?
-And what is easiest way do this connection?

reqards

Jyri


>--
>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
>




--
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: TaminoDB

Ryan Puddephatt
Jyri,
       

>>Hi all.
>>
>>
>
>I have installing my computer Orbeon PresentationServer 3.0(OPS) + Apache
> Tomcat version5.0.28 + Java version jdk1.5.0_06. And my Taminoserver
>version
> is : 4.2.2.9  + Tamino DB.
>
>Now I try take connection from my orbeonweb-page to Tamino DB.
>
>-Anybody know what is best schema type ".xsd" or "tsd 4.2"?
We currently use tsd on all our databases, I take it you are talking about
the schema within Tamino? I'm not sure OPS will take tsd! Probably best to
ask this at http://forums.tamino.com. They are normally pretty quick to
answer.

>-And what is easiest way do this connection?

The easiest way to make a query to tamino is use one of OPS's Tamino
processors. Documentation can be found at
http://www.orbeon.com/ops/doc/processors-xmldb.

>
>reqards
>
>Jyri

Hope this helps

Ryan




--
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: TaminoDB

Jyri Vilokkinen
Thanks Ryan,

I reading this(http://www.orbeon.com/ops/doc/processors-xmldb)
documentation but
all examples is demonstrates only RelaxNG-schema type. I'm not sure how
it's possible do .tsd schema type...?
I reading Orbeon PresentationServer tutorial v2.7.2-0, it 's possible
using .xsd-schematype, but my Tamino DB -using
now .tsd-schema type.



Thanks,

Jyri



Ryan Puddephatt wrote:

>Jyri,
>
>  
>
>>>Hi all.
>>>
>>>
>>>      
>>>
>>I have installing my computer Orbeon PresentationServer 3.0(OPS) + Apache
>>Tomcat version5.0.28 + Java version jdk1.5.0_06. And my Taminoserver
>>version
>>is : 4.2.2.9  + Tamino DB.
>>
>>Now I try take connection from my orbeonweb-page to Tamino DB.
>>
>>-Anybody know what is best schema type ".xsd" or "tsd 4.2"?
>>    
>>
>
>We currently use tsd on all our databases, I take it you are talking about
>the schema within Tamino? I'm not sure OPS will take tsd! Probably best to
>ask this at http://forums.tamino.com. They are normally pretty quick to
>answer.
>
>  
>
>>-And what is easiest way do this connection?
>>    
>>
>
>The easiest way to make a query to tamino is use one of OPS's Tamino
>processors. Documentation can be found at
>http://www.orbeon.com/ops/doc/processors-xmldb.
>
>  
>
>>reqards
>>
>>Jyri
>>    
>>
>
>Hope this helps
>
>Ryan
>
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>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
>  
>



--
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: TaminoDB

Ryan Puddephatt
Jyri,
        We use tamino to do all our tsd schema matching, so it is done at
the source. If you want to match your result against a schema, you will need
to use NG or XSD and the validation processor, documentation found at
http://www.orbeon.com/ops/doc/processors-validation 

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Jyri Vilokkinen [mailto:[hidden email]]
>Sent: 19 April 2006 10:10
>To: [hidden email]
>Subject: Re: [ops-users]TaminoDB
>
>Thanks Ryan,
>
>I reading this(http://www.orbeon.com/ops/doc/processors-xmldb)
>documentation but
>all examples is demonstrates only RelaxNG-schema type. I'm not sure how
>it's possible do .tsd schema type...?
>I reading Orbeon PresentationServer tutorial v2.7.2-0, it 's possible
>using .xsd-schematype, but my Tamino DB -using
>now .tsd-schema type.
>
>
>
>Thanks,
>
>Jyri
>
>
>
>Ryan Puddephatt wrote:
>
>>Jyri,
>>
>>
>>
>>>>Hi all.
>>>>
>>>>
>>>>
>>>>
>>>I have installing my computer Orbeon PresentationServer 3.0(OPS) + Apache
>>>Tomcat version5.0.28 + Java version jdk1.5.0_06. And my Taminoserver
>>>version
>>>is : 4.2.2.9  + Tamino DB.
>>>
>>>Now I try take connection from my orbeonweb-page to Tamino DB.
>>>
>>>-Anybody know what is best schema type ".xsd" or "tsd 4.2"?
>>>
>>>
>>
>>We currently use tsd on all our databases, I take it you are talking about
>>the schema within Tamino? I'm not sure OPS will take tsd! Probably best to
>>ask this at http://forums.tamino.com. They are normally pretty quick to
>>answer.
>>
>>
>>
>>>-And what is easiest way do this connection?
>>>
>>>
>>
>>The easiest way to make a query to tamino is use one of OPS's Tamino
>>processors. Documentation can be found at
>>http://www.orbeon.com/ops/doc/processors-xmldb.
>>
>>
>>
>>>reqards
>>>
>>>Jyri
>>>
>>>
>>
>>Hope this helps
>>
>>Ryan
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>--
>>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
>>
>>
>




--
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: template node mistakenly displayed in CVS version

Erik Bruchez
Administrator
In reply to this post by Adrian Baker-2
Adrian,

I think the TODO Lists example has now the same issue. I have entered a bug:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305022&group_id=168&atid=350207

-Erik

Adrian Baker wrote:

> I've just downloaded the latest CVS version of OPS, and I have a problem
> with the template node of my repeating nodeset being incorrectly displayed.
>
> Attached is an example (which runs fine under the stable sandbox on the
> orbeon site) - clicking on the links down the left hand side adds rows
> to the repeat on the right.
>
> Under the CVS version, the node is added correctly to the underlying
> xml, but the template node is mistakenly displayed instead of the newly
> added row.
>
> I think the problem is new, since it wasn't apparent in the CVS version
> I updated to roughly 2 - 3 weeks ago. The row appears in the DOM
> correctly, but mistakenly gets the xforms-disabled class, so I assume
> the problem is on the server rather than in the javascript.
>
> Adrian
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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

--
Orbeon - XForms Everywhere:
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
Reply | Threaded
Open this post in threaded view
|

Re: template node mistakenly displayed in CVS version

Adrian Baker-2
Hi Erik,

Although the exact problem reported below is no longer apparent, I still see a similar problem to this in some situations: when a repeat is re-populated from a submission, the template node (non relevant) is mistakenly displayed in addition to the relevant nodes.

I'm not sure what to provide here as an example for the sandbox, since it relies on a back end service to update the instance document.. ?

Adrian


Erik Bruchez wrote:
Adrian,

I think the TODO Lists example has now the same issue. I have entered a bug:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305022&group_id=168&atid=350207

-Erik

Adrian Baker wrote:
I've just downloaded the latest CVS version of OPS, and I have a problem with the template node of my repeating nodeset being incorrectly displayed.

Attached is an example (which runs fine under the stable sandbox on the orbeon site) - clicking on the links down the left hand side adds rows to the repeat on the right.

Under the CVS version, the node is added correctly to the underlying xml, but the template node is mistakenly displayed instead of the newly added row.

I think the problem is new, since it wasn't apparent in the CVS version I updated to roughly 2 - 3 weeks ago. The row appears in the DOM correctly, but mistakenly gets the xforms-disabled class, so I assume the problem is on the server rather than in the javascript.

Adrian


------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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: [hidden email] For general help: [hidden email] 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: template node mistakenly displayed in CVS version

Alessandro  Vernet
Administrator
On 5/21/06, Adrian Baker <[hidden email]> wrote:
>  I'm not sure what to provide here as an example for the sandbox, since it
> relies on a back end service to update the instance document.. ?

Adrian,

To create a single file that can be executed in the sandbox, I often
take the XML generated by the service, put it as a static document on
a server, and change the URL in the <xforms:submission> to point to
that server.

You just need a server that generates an XML MIME type when serving
the document. If you don't have a server handy, the old GeoCities
works perfectly for this.

Alex
--
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: template node mistakenly displayed in CVS version

Adrian Baker-2
Alessandro Vernet wrote:

> On 5/21/06, Adrian Baker <[hidden email]> wrote:
>>  I'm not sure what to provide here as an example for the sandbox,
>> since it
>> relies on a back end service to update the instance document.. ?
>
> Adrian,
>
> To create a single file that can be executed in the sandbox, I often
> take the XML generated by the service, put it as a static document on
> a server, and change the URL in the <xforms:submission> to point to
> that server.
>
> You just need a server that generates an XML MIME type when serving
> the document. If you don't have a server handy, the old GeoCities
> works perfectly for this.
>
> Alex
Thanks for the suggestion: attached is an example which demonstrates the
problem. There's a dropdown at the bottom of the form containing the
text 'Saved Query 2': change the value of this dropdown and it will
refresh the conditions group above from a geocities page.

You'll see that the 3 rows appear in the template, when only 2 should:
the third ({template condition}) should not be relevant.

I tried to create a simpler form to demonstrate the problem, but had
trouble reproducing it, so it may be related to the nested levels of
groups each with their own relevancies.

Also, at first when I put the xml onto geocities I couldn't reproduce
the problem. When I compared this xml to what my servlet returns, I
realised it had no namespace declarations (my servlet returns exactly
what was submitted, and OPS includes redundant namespace declarations
for xhtml, xforms etc when submitting instance data). If I add the
xforms namespace to the geocities xml, the problem appears so somehow
this must trigger the issue. I guess a workaround is going to be for me
to strip these out with an XSLT, since OPS doesn't support the
includenamespaceprefixes attribute on <xforms:submission>.

Note that the problem doesn't appear in the xforms sandbox on the orbeon
site (2 conditions correctly appear), so I assume the problem is new
(I'm running off the CVS version). Either that or it's somehow specific
to me :)

Adrian

badRepeatRefresh.xhtml (59K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: template node mistakenly displayed in CVS version

Alessandro  Vernet
Administrator
Adrian,

Yes, I can reproduce the problem and I am currently investigating
this. More on this later.

Alex

On 5/29/06, Adrian Baker <[hidden email]> wrote:

> Alessandro Vernet wrote:
> > On 5/21/06, Adrian Baker <[hidden email]> wrote:
> >>  I'm not sure what to provide here as an example for the sandbox,
> >> since it
> >> relies on a back end service to update the instance document.. ?
> >
> > Adrian,
> >
> > To create a single file that can be executed in the sandbox, I often
> > take the XML generated by the service, put it as a static document on
> > a server, and change the URL in the <xforms:submission> to point to
> > that server.
> >
> > You just need a server that generates an XML MIME type when serving
> > the document. If you don't have a server handy, the old GeoCities
> > works perfectly for this.
> >
> > Alex
> Thanks for the suggestion: attached is an example which demonstrates the
> problem. There's a dropdown at the bottom of the form containing the
> text 'Saved Query 2': change the value of this dropdown and it will
> refresh the conditions group above from a geocities page.
>
> You'll see that the 3 rows appear in the template, when only 2 should:
> the third ({template condition}) should not be relevant.
>
> I tried to create a simpler form to demonstrate the problem, but had
> trouble reproducing it, so it may be related to the nested levels of
> groups each with their own relevancies.
>
> Also, at first when I put the xml onto geocities I couldn't reproduce
> the problem. When I compared this xml to what my servlet returns, I
> realised it had no namespace declarations (my servlet returns exactly
> what was submitted, and OPS includes redundant namespace declarations
> for xhtml, xforms etc when submitting instance data). If I add the
> xforms namespace to the geocities xml, the problem appears so somehow
> this must trigger the issue. I guess a workaround is going to be for me
> to strip these out with an XSLT, since OPS doesn't support the
> includenamespaceprefixes attribute on <xforms:submission>.
>
> Note that the problem doesn't appear in the xforms sandbox on the orbeon
> site (2 conditions correctly appear), so I assume the problem is new
> (I'm running off the CVS version). Either that or it's somehow specific
> to me :)
>
> Adrian
>
>
>
> --
> 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: template node mistakenly displayed in CVS version

Alessandro  Vernet
Administrator
Hi Adrian,

I spent some more time investigating this issue and I have been able
to create a very simple example that reproduces the problem. That
example just loads your instance with <xforms:instance
src="http://..."/> and evaluates XPath expressions with <xforms:output
value="..."/>.

So this seems to be a problem with XPath, either due to a bug in the
version Saxon we are using or the way we are using it. For now I have
created a bug and Erik will be looking at this issue. I have set the
bug to higher priority as this is definitely something we want to
address as soon as possible.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305433&group_id=168&atid=350207

Alex

On 6/1/06, Alessandro Vernet <[hidden email]> wrote:

> Adrian,
>
> Yes, I can reproduce the problem and I am currently investigating
> this. More on this later.
>
> Alex
>
> On 5/29/06, Adrian Baker <[hidden email]> wrote:
> > Alessandro Vernet wrote:
> > > On 5/21/06, Adrian Baker <[hidden email]> wrote:
> > >>  I'm not sure what to provide here as an example for the sandbox,
> > >> since it
> > >> relies on a back end service to update the instance document.. ?
> > >
> > > Adrian,
> > >
> > > To create a single file that can be executed in the sandbox, I often
> > > take the XML generated by the service, put it as a static document on
> > > a server, and change the URL in the <xforms:submission> to point to
> > > that server.
> > >
> > > You just need a server that generates an XML MIME type when serving
> > > the document. If you don't have a server handy, the old GeoCities
> > > works perfectly for this.
> > >
> > > Alex
> > Thanks for the suggestion: attached is an example which demonstrates the
> > problem. There's a dropdown at the bottom of the form containing the
> > text 'Saved Query 2': change the value of this dropdown and it will
> > refresh the conditions group above from a geocities page.
> >
> > You'll see that the 3 rows appear in the template, when only 2 should:
> > the third ({template condition}) should not be relevant.
> >
> > I tried to create a simpler form to demonstrate the problem, but had
> > trouble reproducing it, so it may be related to the nested levels of
> > groups each with their own relevancies.
> >
> > Also, at first when I put the xml onto geocities I couldn't reproduce
> > the problem. When I compared this xml to what my servlet returns, I
> > realised it had no namespace declarations (my servlet returns exactly
> > what was submitted, and OPS includes redundant namespace declarations
> > for xhtml, xforms etc when submitting instance data). If I add the
> > xforms namespace to the geocities xml, the problem appears so somehow
> > this must trigger the issue. I guess a workaround is going to be for me
> > to strip these out with an XSLT, since OPS doesn't support the
> > includenamespaceprefixes attribute on <xforms:submission>.
> >
> > Note that the problem doesn't appear in the xforms sandbox on the orbeon
> > site (2 conditions correctly appear), so I assume the problem is new
> > (I'm running off the CVS version). Either that or it's somehow specific
> > to me :)
> >
> > Adrian
> >
> >
> >
> > --
> > 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/
>

--
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