Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFormParseException: <item> without proper <label> #1

Open
joeflack4 opened this issue Nov 9, 2018 · 0 comments
Open

XFormParseException: <item> without proper <label> #1

joeflack4 opened this issue Nov 9, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@joeflack4
Copy link
Contributor

Description

Receiving the error XFormParseException: <item> without proper <label>, even though Pyxform allows for the form to be converted, and it runs just fine on ODK Collect.

Additional information

Full log of event:

Joe:Development joeflack4$ xform-test KER7-SDP-Questionnaire-v6-jef.xml

Running XForm Test
http://xform-test.pma2020.org
1. Loading form:
KER7-SDP-Questionnaire-v6-jef.xml
WARNING: Xform-test doesn't support the following features on following attributes.
  calculate:
    pulldata

Any nodes containing these features on corresponding attributes have had attribute values set to the following value: 1.
The following nodes were affected:
/SDP/your_name

Exception in thread "main" org.javarosa.xform.parse.XFormParseException: <item> without proper <label>
    Problem found at nodeset: /html/body/group[@appearance=field-list][@ref=/SDP/participant_signature]/select1[@ref=/SDP/participant_signature/checkbox]/item
    With element <item><label/>

	at org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:1270)
	at org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:996)
	at org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:908)
	at org.javarosa.xform.parse.XFormParser.access$200(XFormParser.java:119)
	at org.javarosa.xform.parse.XFormParser$1$6.handle(XFormParser.java:241)
	at org.javarosa.xform.parse.XFormParser.parseElement(XFormParser.java:539)
	at org.javarosa.xform.parse.XFormParser.parseGroup(XFormParser.java:1513)
	at org.javarosa.xform.parse.XFormParser.access$300(XFormParser.java:119)
	at org.javarosa.xform.parse.XFormParser$1$7.handle(XFormParser.java:247)
	at org.javarosa.xform.parse.XFormParser.parseElement(XFormParser.java:539)
	at org.javarosa.xform.parse.XFormParser.parseElement(XFormParser.java:548)
	at org.javarosa.xform.parse.XFormParser.parseElement(XFormParser.java:548)
	at org.javarosa.xform.parse.XFormParser.parseDoc(XFormParser.java:455)
	at org.javarosa.xform.parse.XFormParser.parse(XFormParser.java:366)
	at org.javarosa.xform.util.XFormUtils.getFormFromInputStream(XFormUtils.java:81)
	at org.pma2020.xform_test.FormParseInit.init(FormParseInit.java:34)
	at org.pma2020.xform_test.FormParseInit.<init>(FormParseInit.java:21)
	at org.pma2020.xform_test.XFormTest.squelchedFormParseInit(XFormTest.java:320)
	at org.pma2020.xform_test.XFormTest.setUpAndGetController(XFormTest.java:364)
	at org.pma2020.xform_test.XFormTest.testFieldNames(XFormTest.java:276)
	at org.pma2020.xform_test.XFormTest.runTestsOnFile(XFormTest.java:251)
	at org.pma2020.xform_test.XFormTest.main(XFormTest.java:230)

Attachments

  1. Archive.zip
@joeflack4 joeflack4 self-assigned this Nov 9, 2018
@joeflack4 joeflack4 added the bug Something isn't working label Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant