Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8647257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:01:09+00:00 2026-06-12T13:01:09+00:00

I’m working on a project to generate electronic surveys in XForms from questionnaire metadata.

  • 0

I’m working on a project to generate electronic surveys in XForms from questionnaire metadata. While I have been able to create the XForms easy enough, that conform to the XForms spec I am having trouble running the form through Orbeon.

The form I am trying to run through Orbeon is here: https://gist.github.com/3850705#file_dogsurvey.xhtml

I’ve been able to test this form using XSLTForms and it runs perfectly fine, however when I attempt to run it through Orbeon none of the question text shows up, and it doesn’t even exist in the HTML source being presented to the user, as shown here: https://gist.github.com/3850705#file_orbeon_source.html

So, Orbeon is doing some sort of translation of the original form (which is to be expected) and I’m guessing, based on their examples that its selecting text based on some language information, however, for the life of me I can’t figure out how to get the xf:label text to appear on the form.

Can anyone help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:01:11+00:00Added an answer on June 12, 2026 at 1:01 pm

    You might want to have a look at the orbeon.log as you run the form. I have seen the following two problems:

    1. As I am trying to run this here, I am first getting errors because of xf:bind like this one:

      <xf:bind id="bindThen-DogSurvey_IF_2"
               nodeset="//rml:if[@id='DogSurvey_IF_2']/rml:then"
               relevant="//rml:response[@id='DogSurvey_QC_30'] = '1'"
               readonly="not(//rml:response[@id='DogSurvey_QC_30'] = '1')"/>
      

      If the element doesn’t contain a number, for instance because it is empty, that expression will fail to evaluate, as the XPath engine attempts to convert an empty string to a number. So unless you are absolutely sure that the value will always be a number (which doesn’t seem to be the case here), it is safer to write … = '1', thus doing a string comparison. If you really want to do comparison between integers, you could write //rml:response[@id='DogSurvey_QC_30']/(. castable as xs:integer and . = 1).

    2. After changing the code for #1 above, with the latest code, I am also getting an exception, which looks like a bug, so I filled an bug report, but you might not hit this if you are using the 3.9 release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a text area in my form which accepts all possible characters from
I have a view passing on information from a database: def serve_article(request, id): served_article
I have a bunch of posts stored in text files formatted in yaml/textile (from
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.