context() bug in Orbeon 3.7.1?

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

context() bug in Orbeon 3.7.1?

Mark Dijkstra
Hi alex,
 
I have the following instances:
 
<xforms:instance id="is-context-bug">     
<root xmlns="">
    <status>test1</status>
    <y>
        <status>test2</status>
    </y>
    <x>
        <status>test3</status>
    </x>
    <string></string>
</root>
</xforms:instance>
 
if i have the following statement:
  
<xforms:setvalue  ev:event="xforms-ready"  ref="instance('is-context-bug')/string"  value="context()/status" />     
 
I would expect that the 'string' element would contain only the value 'test1'.
But it contains a sequence of (test1,test2,test3)
 
is this the correct behaviour or a bug?
 
I am using Orbeon 3.7.1.
 
Thanks in advance,
Mark
 
 

     
 
 


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

RE: context() bug in Orbeon 3.7.1?

Mark Dijkstra
Sorry,
 
Already found the mistake.
NO BUG IN ORBEON but in xslt pre-processing!.
 
 


Van: Mark Dijkstra [mailto:[hidden email]]
Verzonden: donderdag 2 juli 2009 15:02
Aan: [hidden email]
Onderwerp: [ops-users] context() bug in Orbeon 3.7.1?

Hi alex,
 
I have the following instances:
 
<xforms:instance id="is-context-bug">     
<root xmlns="">
    <status>test1</status>
    <y>
        <status>test2</status>
    </y>
    <x>
        <status>test3</status>
    </x>
    <string></string>
</root>
</xforms:instance>
 
if i have the following statement:
  
<xforms:setvalue  ev:event="xforms-ready"  ref="instance('is-context-bug')/string"  value="context()/status" />     
 
I would expect that the 'string' element would contain only the value 'test1'.
But it contains a sequence of (test1,test2,test3)
 
is this the correct behaviour or a bug?
 
I am using Orbeon 3.7.1.
 
Thanks in advance,
Mark
 
 

     
 
 


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

Re: RE: context() bug in Orbeon 3.7.1?

Erik Bruchez
Administrator
I am SURE there are some bugs in Orbeon ;) But good that this is not  
one at this time.

-Erik

On Jul 2, 2009, at 6:21 AM, Mark Dijkstra wrote:

> Sorry,
>
> Already found the mistake.
> NO BUG IN ORBEON but in xslt pre-processing!.
>
>
>
> Van: Mark Dijkstra [mailto:[hidden email]]
> Verzonden: donderdag 2 juli 2009 15:02
> Aan: [hidden email]
> Onderwerp: [ops-users] context() bug in Orbeon 3.7.1?
>
> Hi alex,
>
> I have the following instances:
>
> <xforms:instance id="is-context-bug">
> <root xmlns="">
>     <status>test1</status>
>     <y>
>         <status>test2</status>
>     </y>
>     <x>
>         <status>test3</status>
>     </x>
>     <string></string>
> </root>
> </xforms:instance>
>
> if i have the following statement:
>
> <xforms:setvalue  ev:event="xforms-ready"  ref="instance('is-context-
> bug')/string"  value="context()/status" />
>
> I would expect that the 'string' element would contain only the  
> value 'test1'.
> But it contains a sequence of (test1,test2,test3)
>
> is this the correct behaviour or a bug?
>
> I am using Orbeon 3.7.1.
>
> Thanks in advance,
> Mark
>
>
>
>
>
>
>
> --
> 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
--
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