org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

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

org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

Andrew Bailey
Hi,

I just installed the release candidate
orbeon-3.8.0.rc1.201005041622-CE and I have a form that was working
with 3.7 installing the app gives me

Exception Class org.orbeon.oxf.common.ValidationException
Message Binding exception for target: xf-16

I enabled debugging in the log and get
2010-05-05 13:14:13,547 DEBUG XFormsServer  - end generating XBL
shadow content {time (ms): "957"}
2010-05-05 13:14:13,547 DEBUG XFormsServer  - start filtering shadow
tree {bound element: "<fr:tabview id="xf-16">[...]</fr:tabview>"}
2010-05-05 13:14:13,799 DEBUG XFormsServer  - end filtering shadow
tree {time (ms): "252"}

The relevant parts of the form are:

xmlns:w="http://orbeon.org/oxf/xml/widget"
...
<w:tabs>
<w:tab id="PersonalTab" selected="true">
<w:label>Personal</w:label>

Which as I understand gets transformed to fr:tabview by a xslt transform.

I have attached the gzipped log.

The code is for a customer, I dont think there would be a problem to
share it as long as it is not placed on a public internet site.
Please let me know what other info you need.

Andy Bailey


--
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.txt.gz (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

Erik Bruchez-3
Andy,

I am not sure why you are getting a binding exception, but we did some
changes related to the old-style widgets, see:

http://wiki.orbeon.com/forms/doc/developer-guide/release-orbeon-forms-38#TOC-Old-style-widgets-support

It would be good if you had a reproducible case though, unless you an
switch to fr:tabview.

-Erik

On Wed, May 5, 2010 at 11:25 AM, Andrew Bailey <[hidden email]> wrote:

> Hi,
>
> I just installed the release candidate
> orbeon-3.8.0.rc1.201005041622-CE and I have a form that was working
> with 3.7 installing the app gives me
>
> Exception Class         org.orbeon.oxf.common.ValidationException
> Message         Binding exception for target: xf-16
>
> I enabled debugging in the log and get
> 2010-05-05 13:14:13,547 DEBUG XFormsServer  - end generating XBL
> shadow content {time (ms): "957"}
> 2010-05-05 13:14:13,547 DEBUG XFormsServer  - start filtering shadow
> tree {bound element: "<fr:tabview id="xf-16">[...]</fr:tabview>"}
> 2010-05-05 13:14:13,799 DEBUG XFormsServer  - end filtering shadow
> tree {time (ms): "252"}
>
> The relevant parts of the form are:
>
> xmlns:w="http://orbeon.org/oxf/xml/widget"
> ...
> <w:tabs>
> <w:tab id="PersonalTab" selected="true">
> <w:label>Personal</w:label>
>
> Which as I understand gets transformed to fr:tabview by a xslt transform.
>
> I have attached the gzipped log.
>
> The code is for a customer, I dont think there would be a problem to
> share it as long as it is not placed on a public internet site.
> Please let me know what other info you need.
>
> Andy Bailey
>
>
> --
> 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
>
>


--
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: org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

Andrew Bailey
Eric,

I started to create a testcase and discovered the problem. I had a
xf:label directly under the fr:tab
I have removed it and its working, the error message however could be
much better.

<fr:tab id="WorkTab">
<fr:label>Trabajo</fr:label>
<xf:label bind="Work"/> <!-- line that generated the error -->
<span class="control">

Thanks,

Andy


--
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: Re: org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

Erik Bruchez
Administrator
Good, great to hear! -Erik

On Wed, May 5, 2010 at 12:33 PM, Andrew Bailey <[hidden email]> wrote:

> Eric,
>
> I started to create a testcase and discovered the problem. I had a
> xf:label directly under the fr:tab
> I have removed it and its working, the error message however could be
> much better.
>
> <fr:tab id="WorkTab">
> <fr:label>Trabajo</fr:label>
> <xf:label bind="Work"/> <!-- line that generated the error -->
> <span class="control">
>
> Thanks,
>
> Andy
>
>
> --
> 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
>
>


--
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: Re: org.orbeon.oxf.common.ValidationException in orbeon-3.8.0.rc1 CE for a form that works in 3.7.1

Alessandro  Vernet
Administrator
In reply to this post by Andrew Bailey
Andy,

Agreed: using "invalid" elements or attributes inside an XBL component
can lead to unexpected results, and you often need to look at the code
of the component to see what is going on, which is undesirable. We
have been thinking about allowing components to provide an XML schema;
the schema would be used by Orbeon Forms to provide you with better
error messages, and you could even use that schema in your XML editor,
for code completion and to see errors right away.

Alex

On Wed, May 5, 2010 at 12:33 PM, Andrew Bailey <[hidden email]> wrote:

> Eric,
>
> I started to create a testcase and discovered the problem. I had a
> xf:label directly under the fr:tab
> I have removed it and its working, the error message however could be
> much better.
>
> <fr:tab id="WorkTab">
> <fr:label>Trabajo</fr:label>
> <xf:label bind="Work"/> <!-- line that generated the error -->
> <span class="control">
>
> Thanks,
>
> Andy
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet