Error with JavaRosa Parsing From

Hey,

I am trying to create my first ODK instance and am having trouble uploading
it and getting it running. I get the following error:

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

I've gone through the form a couple time to look for mistakes, but can't
find any. I relatively new to this and was looking to do what I thought was
a pretty simple form, but for whatever reason, I can't get it to work. Any
help would be greatly appreciated. The XML file is attached.

Thanks,
Peter

PienkowData1.xml (2.53 KB)

Peter,

Try changing your prompts so the underlying data values do not start
with numbers. For example, 2013crop should be crop2013.

This is a bug and I just filed it at:
https://code.google.com/p/opendatakit/issues/detail?id=816
https://github.com/clint-tseng/odkbuild/issues/28

Yaw

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

On Fri, Apr 26, 2013 at 4:38 AM, Peter Pienkowski peterpienkowski@gmail.com wrote:

Hey,

I am trying to create my first ODK instance and am having trouble uploading
it and getting it running. I get the following error:

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

I've gone through the form a couple time to look for mistakes, but can't
find any. I relatively new to this and was looking to do what I thought was
a pretty simple form, but for whatever reason, I can't get it to work. Any
help would be greatly appreciated. The XML file is attached.

Thanks,
Peter

--

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.

Thanks, Yaw, that fixed it!

··· On Friday, April 26, 2013 4:01:09 PM UTC+2, Yaw Anokwa wrote: > > Peter, > > Try changing your prompts so the underlying data values do not start > with numbers. For example, 2013crop should be crop2013. > > This is a bug and I just filed it at: > https://code.google.com/p/opendatakit/issues/detail?id=816 > https://github.com/clint-tseng/odkbuild/issues/28 > > Yaw > -- > Need ODK help? Go to http://nafundi.com for custom features, form > design, implementation support, and user training for ODK. > > On Fri, Apr 26, 2013 at 4:38 AM, Peter Pienkowski <peterpi...@gmail.com > wrote: > > Hey, > > > > I am trying to create my first ODK instance and am having trouble > uploading > > it and getting it running. I get the following error: > > > > Error: Problem with JavaRosa Parsing Form: > > org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: > > org.javarosa.xform.parse.XFormParseException: XML Syntax Error at Line: > 11, > > Column: 12! > > > > > > I've gone through the form a couple time to look for mistakes, but can't > > find any. I relatively new to this and was looking to do what I thought > was > > a pretty simple form, but for whatever reason, I can't get it to work. > Any > > help would be greatly appreciated. The XML file is attached. > > > > Thanks, > > Peter > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/groups/opt_out. > > > > >

Peter,

Try changing your prompts so the underlying data values do not start
with numbers. For example, 2013crop should be crop2013.

This is a bug and I just filed it at:
https://code.google.com/p/opendatakit/issues/detail?id=816
https://github.com/clint-tseng/odkbuild/issues/28

Yaw

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

Hey,

I am trying to create my first ODK instance and am having trouble uploading
it and getting it running. I get the following error:

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

I've gone through the form a couple time to look for mistakes, but can't
find any. I relatively new to this and was looking to do what I thought was
a pretty simple form, but for whatever reason, I can't get it to work. Any
help would be greatly appreciated. The XML file is attached.

Thanks,
Peter

--

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.

Thanks Yaw, the solution suggested by you was useful to me as well

··· On Friday, April 26, 2013 at 7:31:09 PM UTC+5:30, Yaw Anokwa wrote: > On Fri, Apr 26, 2013 at 4:38 AM, Peter Pienkowski wrote:

It is a spec requirement!

Field names become XML elements and must follow these naming rules:

  • Names can contain letters, numbers, and other characters
  • Names cannot start with a number or punctuation character
  • Names cannot start with the letters xml (or XML, or Xml, etc)
  • Names cannot contain spaces

Any name can be used, no words are reserved.

Additionally, to keep everyone sane, do not use colons in names, and
punctuation is generally to be avoided (I recommend using only _ or - in
names).

··· On Fri, Apr 26, 2013 at 7:28 AM, Peter Pienkowski <peterpienkowski@gmail.com wrote:

Thanks, Yaw, that fixed it!

On Friday, April 26, 2013 4:01:09 PM UTC+2, Yaw Anokwa wrote:

Peter,

Try changing your prompts so the underlying data values do not start
with numbers. For example, 2013crop should be crop2013.

This is a bug and I just filed it at:
https://code.google.com/p/**opendatakit/issues/detail?id=**816https://code.google.com/p/opendatakit/issues/detail?id=816
https://github.com/clint-**tseng/odkbuild/issues/28https://github.com/clint-tseng/odkbuild/issues/28

Yaw

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

On Fri, Apr 26, 2013 at 4:38 AM, Peter Pienkowski peterpi...@gmail.com wrote:

Hey,

I am trying to create my first ODK instance and am having trouble
uploading
it and getting it running. I get the following error:

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

I've gone through the form a couple time to look for mistakes, but
can't
find any. I relatively new to this and was looking to do what I thought
was
a pretty simple form, but for whatever reason, I can't get it to work.
Any
help would be greatly appreciated. The XML file is attached.

Thanks,
Peter

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@**googlegroups.com
Options: http://groups.google.com/**group/opendatakit?hl=enhttp://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...@**googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out.

--

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 all,
I am also having the same problem,
please have a look at my XML file

ThanksHFA11.xml (139.3 KB)

Liwindi

Hi @joshua_liwindi

what aggregate version do you use? I was able to upload your form.

Dear @Grzegorz,
Thanks for the feedback, I want to tell you that my form uploaded after a couple of tries, I wonder what the problem is,
I am running Aggregate v1.4.14

Liwindi

That's weird, I don't know what was wrong but that's great you have finally managed to upload your form.

Dear @Grzesiek2010,

I found such error in my form.

ODK Validate Errors:

XForm is invalid. See above for the errors.
org.javarosa.xform.parse.XFormParseException: Encountered a problem with display condition for node [${Fodder}] at line: (), Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@1cd475

ODK Validate Errors:

XForm is invalid. See above for the errors.
org.javarosa.xform.parse.XFormParseException: Encountered a problem with display condition for node [${Village}] at line: (), Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@1cd475

Please help.Fodder-acreage-Estimation-Revised.xlsx (48.1 KB)
Fodder-acreage-Estimation-Revised.xml (61.2 KB)

Hi @Nikunj_Sakhiya

sorry for the late reply but I was on leave and I've just got back.
I investigated your form and noticed two problems:

  1. Column relevant where you use () - you should use yes/no like you do in required column.
  2. In the settings sheet in column instance_name you can't use spaces, so it can't be Dr.Nikunj Sakhiya but it could be Dr.NikunjSakhiya for example.

Let me know in case of any problems.