How to write skip logic for XML

I am trying to write skip logic for an XML form that will be uploaded as an electronic questionnaire on a mobile device.

Currently the XML I have isn't able to be uploaded to the ODK server and I get the following error message:

" Error: Problem with JavaRosa Parsing Form: org.javarosa.xform.parse.XFormParseException: XML Syntax Error at Line: 1066, Column: 1!"

This is our code- does anyone know if we are tagging incorrectly?

Thanks.

1 2 1 1

It is impossible to answer this, as I have no idea what line 1066 column 1
is.

If you are hand-coding your XML , this is likely a special character of
some sort (e.g., weird space character, something that looks like the
standard < but isn't, etc.).

You should use XLSForm or Build for form generation. Working directly with
XML is too error prone.

··· On Wed, Sep 11, 2013 at 1:04 PM, wrote:

I am trying to write skip logic for an XML form that will be uploaded as
an electronic questionnaire on a mobile device.

Currently the XML I have isn't able to be uploaded to the ODK server and I
get the following error message:

" Error: Problem with JavaRosa Parsing Form:
org.javarosa.xform.parse.XFormParseException: XML Syntax Error at Line:
1066, Column: 1!"

This is our code- does anyone know if we are tagging incorrectly?

Thanks.

1 2 1 1

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

Thank you for your response. I've used a validation tool and our XML is valid; however, I am still unable to upload to ODK. The form is 44KB, so size shouldn't be an issue. I receive the Google App Engine error message (copied here). I've looked through our logs etc and we are not over quota. Do you have any suggestions?

Thank you.

If you send me ( mitchellsundt@gmail.com ) your form, I can try it on one
of my servers.

··· On Wed, Sep 25, 2013 at 7:40 AM, wrote:

Hi Mitch,

Thank you for your response. I've used a validation tool and our XML is
valid; however, I am still unable to upload to ODK. The form is 44KB, so
size shouldn't be an issue. I receive the Google App Engine error message
(copied here). I've looked through our logs etc and we are not over quota.
Do you have any suggestions?

Thank you.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com