XML file error

I´ve built some very simple forms in ODK Build and exported them to XML.
However, when I try to open them, either by putting the XML file in the ODK
forms folder in my smartphone or by adding the XML file as a form in
Aggregate, I get error messages like this.

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

I have no problem uploading already existing forms to my phone or to
Aggregate, so I guess i´m doing something wrong in ODK Build....

Hope you can help me out.

Thomas Kruiper

Form about animals.xml (4.67 KB)

Hi Thomas,

The JavaRosa parser doesn't like dataNames that are numbers. Instead
of 1,2,3, try using q1, q2, q3.

I've filed a bug report at
https://code.google.com/p/opendatakit/issues/detail?id=791. Star it to
get updates.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom development, form design, implementation support, and user training for ODK.

On Wed, Mar 20, 2013 at 3:48 AM, Thomas Kruiper thomas.kruiper@gmail.com wrote:

I´ve built some very simple forms in ODK Build and exported them to XML.
However, when I try to open them, either by putting the XML file in the ODK
forms folder in my smartphone or by adding the XML file as a form in
Aggregate, I get error messages like this.

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

I have no problem uploading already existing forms to my phone or to
Aggregate, so I guess i´m doing something wrong in ODK Build....

Hope you can help me out.

Thomas Kruiper

--

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.