I have big problems getting my form to work and upload it to the Aggregate
server (I use version 0.9.8 on google App engine)
I'm trying to make a simple option field(with two options) in my form, but
it won't parse? I'm using the ODK build site to make my form.
I'm getting this error when trying to Validate the form: (and I have the
data id tag in place)
Checking form...
Parsing form...
Title: "lowLevelTest2" java.lang.NullPointerException
at org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
at
org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
at org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
and this when uploading to Aggregate:
Error: Problem with JavaRosa Parsing Form:null
But it seems very strange to me, and I'm not that into XML, but It's
like there is more tags end tags
I'll tryed to change the tag in the <h:body> to Gul</
value>. (Its allready in the <h:head> part)
Now I get it error :
Checking form...
[Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
terminated by the matching end-tag "".
···
On 11 Okt., 14:53, Andrew Marder wrote:
> Hi Martin,
>
> One possible problem is that your items have no values. You might try
> replacing with something like Gul.
>
> Andrew
>
> On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
> > Hi ODK team
>
> > I have big problems getting my form to work and upload it to the Aggregate
> > server (I use version 0.9.8 on google App engine)
>
> > I'm trying to make a simple option field(with two options) in my form, but
> > it won't parse? I'm using the ODK build site to make my form.
>
> > I'm getting this error when trying to Validate the form: (and I have the
> > data id tag in place)
>
> > Checking form...
> > Parsing form...
> > Title: "lowLevelTest2"
> > java.lang.NullPointerException
> > at org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
> > at
> > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
> > at org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>
> > and this when uploading to Aggregate:
> > Error: Problem with JavaRosa Parsing Form:null
>
> > This is my form:
>
> > > xmlns:h="http://www.w3.org/1999/xhtml"
> > xmlns:ev="http://www.w3.org/2001/xml-events"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:jr="http://openrosa.org/javarosa">
> >
> > lowLevelTest2
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Her kan du svare?
> >
> >
> >
> >
> >
> > Gul
> >
> >
> > Grøn
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> > Can anybody help me to locate the problem? This would be really great if I
> > can get this to work...
>
> > Thanks!
>
> > --
> > Venlig hilsen
>
> > Martin Mosgaard Knudsen
>
> > Dommervænget 22 1. tv
> > 4000 Roskilde
>
> > tlf.: 61 69 14 57
> > email: martinmosga...@gmail.com / mm...@hotmail.com
>
> > --
> > Post: opendatakit@googlegroups.com
> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > Options:http://groups.google.com/group/opendatakit?hl=en- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
The are more end tags in begining task??? Does this mean anything? I'm
not a big XML-Shark.
···
On 11 Okt., 14:53, Andrew Marder wrote:
> Hi Martin,
>
> One possible problem is that your items have no values. You might try
> replacing with something like Gul.
>
> Andrew
>
> On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
> > Hi ODK team
>
> > I have big problems getting my form to work and upload it to the Aggregate
> > server (I use version 0.9.8 on google App engine)
>
> > I'm trying to make a simple option field(with two options) in my form, but
> > it won't parse? I'm using the ODK build site to make my form.
>
> > I'm getting this error when trying to Validate the form: (and I have the
> > data id tag in place)
>
> > Checking form...
> > Parsing form...
> > Title: "lowLevelTest2"
> > java.lang.NullPointerException
> > at org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
> > at
> > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
> > at org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>
> > and this when uploading to Aggregate:
> > Error: Problem with JavaRosa Parsing Form:null
>
> > This is my form:
>
> > > xmlns:h="http://www.w3.org/1999/xhtml"
> > xmlns:ev="http://www.w3.org/2001/xml-events"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:jr="http://openrosa.org/javarosa">
> >
> > lowLevelTest2
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Her kan du svare?
> >
> >
> >
> >
> >
> > Gul
> >
> >
> > Grøn
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> > Can anybody help me to locate the problem? This would be really great if I
> > can get this to work...
>
> > Thanks!
>
> > --
> > Venlig hilsen
>
> > Martin Mosgaard Knudsen
>
> > Dommervænget 22 1. tv
> > 4000 Roskilde
>
> > tlf.: 61 69 14 57
> > email: martinmosga...@gmail.com / mm...@hotmail.com
>
> > --
> > Post: opendatakit@googlegroups.com
> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > Options:http://groups.google.com/group/opendatakit?hl=en- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
One possible problem is that your items have no values. You might try
replacing with something like Gul.
Andrew
···
On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
> Hi ODK team
>
> I have big problems getting my form to work and upload it to the Aggregate
> server (I use version 0.9.8 on google App engine)
>
> I'm trying to make a simple option field(with two options) in my form, but
> it won't parse? I'm using the ODK build site to make my form.
>
> I'm getting this error when trying to Validate the form: (and I have the
> data id tag in place)
>
> Checking form...
> Parsing form...
> Title: "lowLevelTest2"
> java.lang.NullPointerException
> at org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
> at
> org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
> at org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>
> and this when uploading to Aggregate:
> Error: Problem with JavaRosa Parsing Form:null
>
>
> This is my form:
>
> xmlns:h="http://www.w3.org/1999/xhtml"
> xmlns:ev="http://www.w3.org/2001/xml-events"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:jr="http://openrosa.org/javarosa">
>
> lowLevelTest2
>
>
>
>
>
>
>
>
>
> Her kan du svare?
>
>
>
>
>
> Gul
>
>
> Grøn
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Can anybody help me to locate the problem? This would be really great if I
> can get this to work...
>
> Thanks!
>
>
> --
> Venlig hilsen
>
> Martin Mosgaard Knudsen
>
> Dommervænget 22 1. tv
> 4000 Roskilde
>
> tlf.: 61 69 14 57
> email: martinmosgaard@gmail.com / mmk01@hotmail.com
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
The problem is in the select1 definition, as Andrew identified. You have:
The tags here must contain a value that will be stored in the
submission record. This is like a coding value in an old-style
questionnaire. As written, you've defined a select1 but both of the choices
(option0 and option1) will code to nothing. A valid select1 would be:
option0ChoiceCodingValue
option1ChoiceCodingValue
Mitch
···
On Tue, Oct 11, 2011 at 6:42 AM, Martin Mosgaard Knudsen < martinmosgaard@gmail.com> wrote:
Hi Andrew
Thanks for fast reply.
But it seems very strange to me, and I'm not that into XML, but It's
like there is more tags end tags
I'll tryed to change the tag in the <h:body> to Gul</
value>. (Its allready in the <h:head> part)
Now I get it error :
Checking form...
[Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
terminated by the matching end-tag "".
I have big problems getting my form to work and upload it to the
Aggregate
server (I use version 0.9.8 on google App engine)
I'm trying to make a simple option field(with two options) in my form,
but
it won't parse? I'm using the ODK build site to make my form.
I'm getting this error when trying to Validate the form: (and I have
the
data id tag in place)
Checking form...
Parsing form...
Title: "lowLevelTest2"
java.lang.NullPointerException
at
org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
at
org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
at
org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
and this when uploading to Aggregate:
Error: Problem with JavaRosa Parsing Form:null
Checking form...
[Fatal Error] lowLevelTest2.xml:37:9: The element type "value" must be
terminated by the matching end-tag "".
It do not like the inserted tag!? (I tryed inserting a new end
tag, but it just crash)
···
On 11 Okt., 19:43, Mitch Sundt wrote:
> The problem is in the select1 definition, as Andrew identified. You have:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> The tags here must contain a value that will be stored in the
> submission record. This is like a coding value in an old-style
> questionnaire. As written, you've defined a select1 but both of the choices
> (option0 and option1) will code to nothing. A valid select1 would be:
>
>
>
>
>
>
> option0ChoiceCodingValue
>
>
>
> option1ChoiceCodingValue
>
>
>
> Mitch
>
> On Tue, Oct 11, 2011 at 6:42 AM, Martin Mosgaard Knudsen < martinmosga...@gmail.com> wrote:
> > Hi Andrew
>
> > Thanks for fast reply.
>
> > But it seems very strange to me, and I'm not that into XML, but It's
> > like there is more tags end tags
>
> > I'll tryed to change the tag in the to Gul > value>. (Its allready in the part)
>
> > Now I get it error :
> > Checking form...
> > [Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
> > terminated by the matching end-tag "".
>
> > On 11 Okt., 14:53, Andrew Marder wrote:
> > > Hi Martin,
>
> > > One possible problem is that your items have no values. You might try
> > > replacing with something like Gul.
>
> > > Andrew
>
> > > On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
> > > > Hi ODK team
>
> > > > I have big problems getting my form to work and upload it to the
> > Aggregate
> > > > server (I use version 0.9.8 on google App engine)
>
> > > > I'm trying to make a simple option field(with two options) in my form,
> > but
> > > > it won't parse? I'm using the ODK build site to make my form.
>
> > > > I'm getting this error when trying to Validate the form: (and I have
> > the
> > > > data id tag in place)
>
> > > > Checking form...
> > > > Parsing form...
> > > > Title: "lowLevelTest2"
> > > > java.lang.NullPointerException
> > > > at
> > org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
> > > > at
> > > > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
> > > > at
> > org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>
> > > > and this when uploading to Aggregate:
> > > > Error: Problem with JavaRosa Parsing Form:null
>
> > > > This is my form:
>
> > > > > > > xmlns:h="http://www.w3.org/1999/xhtml"
> > > > xmlns:ev="http://www.w3.org/2001/xml-events"
> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > xmlns:jr="http://openrosa.org/javarosa">
> > > >
> > > > lowLevelTest2
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Her kan du svare?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Gul
> > > >
> > > >
> > > > Grøn
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
>
> > > > Can anybody help me to locate the problem? This would be really great
> > if I
> > > > can get this to work...
>
> > > > Thanks!
>
> > > > --
> > > > Venlig hilsen
>
> > > > Martin Mosgaard Knudsen
>
> > > > Dommervænget 22 1. tv
> > > > 4000 Roskilde
>
> > > > tlf.: 61 69 14 57
> > > > email: martinmosga...@gmail.com / mm...@hotmail.com
>
> > > > --
> > > > Post: opendatakit@googlegroups.com
> > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > > > Options:http://groups.google.com/group/opendatakit?hl=en-Skjul tekst
> > i anførselstegn -
>
> > > - Vis tekst i anførselstegn -
>
> > --
> > Post: opendatakit@googlegroups.com
> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > Options:http://groups.google.com/group/opendatakit?hl=en
>
> --
> Mitch Sundt
> Software Engineerhttp://www.OpenDataKit.org
> University of Washington
> mitchellsu...@gmail.com- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
···
On Wed, Oct 12, 2011 at 12:25 AM, Martin Mosgaard Knudsen wrote:
> Hi Mitch
>
> I tryed both what you and Andrew described: se the code here:
>
> http://dpaste.com/632736/
>
> But now gets this error:
>
> Checking form...
> [Fatal Error] lowLevelTest2.xml:37:9: The element type "value" must be
> terminated by the matching end-tag "".
>
> It do not like the inserted tag!? (I tryed inserting a new end
> tag, but it just crash)
>
>
> On 11 Okt., 19:43, Mitch Sundt wrote:
>> The problem is in the select1 definition, as Andrew identified. You have:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> The tags here must contain a value that will be stored in the
>> submission record. This is like a coding value in an old-style
>> questionnaire. As written, you've defined a select1 but both of the choices
>> (option0 and option1) will code to nothing. A valid select1 would be:
>>
>>
>>
>>
>>
>>
>> option0ChoiceCodingValue
>>
>>
>>
>> option1ChoiceCodingValue
>>
>>
>>
>> Mitch
>>
>> On Tue, Oct 11, 2011 at 6:42 AM, Martin Mosgaard Knudsen < martinmosga...@gmail.com> wrote:
>> > Hi Andrew
>>
>> > Thanks for fast reply.
>>
>> > But it seems very strange to me, and I'm not that into XML, but It's
>> > like there is more tags end tags
>>
>> > I'll tryed to change the tag in the to Gul> > value>. (Its allready in the part)
>>
>> > Now I get it error :
>> > Checking form...
>> > [Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
>> > terminated by the matching end-tag "".
>>
>> > On 11 Okt., 14:53, Andrew Marder wrote:
>> > > Hi Martin,
>>
>> > > One possible problem is that your items have no values. You might try
>> > > replacing with something like Gul.
>>
>> > > Andrew
>>
>> > > On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
>> > > > Hi ODK team
>>
>> > > > I have big problems getting my form to work and upload it to the
>> > Aggregate
>> > > > server (I use version 0.9.8 on google App engine)
>>
>> > > > I'm trying to make a simple option field(with two options) in my form,
>> > but
>> > > > it won't parse? I'm using the ODK build site to make my form.
>>
>> > > > I'm getting this error when trying to Validate the form: (and I have
>> > the
>> > > > data id tag in place)
>>
>> > > > Checking form...
>> > > > Parsing form...
>> > > > Title: "lowLevelTest2"
>> > > > java.lang.NullPointerException
>> > > > at
>> > org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
>> > > > at
>> > > > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
>> > > > at
>> > org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>>
>> > > > and this when uploading to Aggregate:
>> > > > Error: Problem with JavaRosa Parsing Form:null
>>
>> > > > This is my form:
>>
>> > > > > > > > xmlns:h="http://www.w3.org/1999/xhtml"
>> > > > xmlns:ev="http://www.w3.org/2001/xml-events"
>> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> > > > xmlns:jr="http://openrosa.org/javarosa">
>> > > >
>> > > > lowLevelTest2
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > Her kan du svare?
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > Gul
>> > > >
>> > > >
>> > > > Grøn
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>>
>> > > > Can anybody help me to locate the problem? This would be really great
>> > if I
>> > > > can get this to work...
>>
>> > > > Thanks!
>>
>> > > > --
>> > > > Venlig hilsen
>>
>> > > > Martin Mosgaard Knudsen
>>
>> > > > Dommervænget 22 1. tv
>> > > > 4000 Roskilde
>>
>> > > > tlf.: 61 69 14 57
>> > > > email: martinmosga...@gmail.com / mm...@hotmail.com
>>
>> > > > --
>> > > > Post: opendatakit@googlegroups.com
>> > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> > > > Options:http://groups.google.com/group/opendatakit?hl=en-Skjul tekst
>> > i anførselstegn -
>>
>> > > - Vis tekst i anførselstegn -
>>
>> > --
>> > Post: opendatakit@googlegroups.com
>> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> > Options:http://groups.google.com/group/opendatakit?hl=en
>>
>> --
>> Mitch Sundt
>> Software Engineerhttp://www.OpenDataKit.org
>> University of Washington
>> mitchellsu...@gmail.com- Skjul tekst i anførselstegn -
>>
>> - Vis tekst i anførselstegn -
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
I still got the same error: (I understand more of the XML now, but not
enought to make it right)
Checking form...
[Fatal Error] lowLevelTest2.xml:17:13: The element type "value" must
be terminated by the matching end-tag "".
···
On 12 Okt., 10:51, Gaetano Borriello wrote:
> Change line 13 to:
>
> Here is question text
>
> and line 16 to:
>
> and here is hint text
>
> On Wed, Oct 12, 2011 at 12:25 AM, Martin Mosgaard Knudsen wrote:
> > Hi Mitch
>
> > I tryed both what you and Andrew described: se the code here:
>
> >http://dpaste.com/632736/
>
> > But now gets this error:
>
> > Checking form...
> > [Fatal Error] lowLevelTest2.xml:37:9: The element type "value" must be
> > terminated by the matching end-tag "".
>
> > It do not like the inserted tag!? (I tryed inserting a new end
> > tag, but it just crash)
>
> > On 11 Okt., 19:43, Mitch Sundt wrote:
> >> The problem is in the select1 definition, as Andrew identified. You have:
>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
> >> The tags here must contain a value that will be stored in the
> >> submission record. This is like a coding value in an old-style
> >> questionnaire. As written, you've defined a select1 but both of the choices
> >> (option0 and option1) will code to nothing. A valid select1 would be:
>
> >>
> >>
> >>
> >>
> >>
> >> option0ChoiceCodingValue
> >>
> >>
> >>
> >> option1ChoiceCodingValue
> >>
> >>
>
> >> Mitch
>
> >> On Tue, Oct 11, 2011 at 6:42 AM, Martin Mosgaard Knudsen < martinmosga...@gmail.com> wrote:
> >> > Hi Andrew
>
> >> > Thanks for fast reply.
>
> >> > But it seems very strange to me, and I'm not that into XML, but It's
> >> > like there is more tags end tags
>
> >> > I'll tryed to change the tag in the to Gul >> > value>. (Its allready in the part)
>
> >> > Now I get it error :
> >> > Checking form...
> >> > [Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
> >> > terminated by the matching end-tag "".
>
> >> > On 11 Okt., 14:53, Andrew Marder wrote:
> >> > > Hi Martin,
>
> >> > > One possible problem is that your items have no values. You might try
> >> > > replacing with something like Gul.
>
> >> > > Andrew
>
> >> > > On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
> >> > > > Hi ODK team
>
> >> > > > I have big problems getting my form to work and upload it to the
> >> > Aggregate
> >> > > > server (I use version 0.9.8 on google App engine)
>
> >> > > > I'm trying to make a simple option field(with two options) in my form,
> >> > but
> >> > > > it won't parse? I'm using the ODK build site to make my form.
>
> >> > > > I'm getting this error when trying to Validate the form: (and I have
> >> > the
> >> > > > data id tag in place)
>
> >> > > > Checking form...
> >> > > > Parsing form...
> >> > > > Title: "lowLevelTest2"
> >> > > > java.lang.NullPointerException
> >> > > > at
> >> > org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
> >> > > > at
> >> > > > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
> >> > > > at
> >> > org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>
> >> > > > and this when uploading to Aggregate:
> >> > > > Error: Problem with JavaRosa Parsing Form:null
>
> >> > > > This is my form:
>
> >> > > > >> > > > xmlns:h="http://www.w3.org/1999/xhtml"
> >> > > > xmlns:ev="http://www.w3.org/2001/xml-events"
> >> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> >> > > > xmlns:jr="http://openrosa.org/javarosa">
> >> > > >
> >> > > > lowLevelTest2
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > Her kan du svare?
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > Gul
> >> > > >
> >> > > >
> >> > > > Grøn
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
>
> >> > > > Can anybody help me to locate the problem? This would be really great
> >> > if I
> >> > > > can get this to work...
>
> >> > > > Thanks!
>
> >> > > > --
> >> > > > Venlig hilsen
>
> >> > > > Martin Mosgaard Knudsen
>
> >> > > > Dommervænget 22 1. tv
> >> > > > 4000 Roskilde
>
> >> > > > tlf.: 61 69 14 57
> >> > > > email: martinmosga...@gmail.com / mm...@hotmail.com
>
> >> > > > --
> >> > > > Post: opendatakit@googlegroups.com
> >> > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> >> > > > Options:http://groups.google.com/group/opendatakit?hl=en-Skjultekst
> >> > i anførselstegn -
>
> >> > > - Vis tekst i anførselstegn -
>
> >> > --
> >> > Post: opendatakit@googlegroups.com
> >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> >> > Options:http://groups.google.com/group/opendatakit?hl=en
>
> >> --
> >> Mitch Sundt
> >> Software Engineerhttp://www.OpenDataKit.org
> >> University of Washington
> >> mitchellsu...@gmail.com- Skjul tekst i anførselstegn -
>
> >> - Vis tekst i anførselstegn -
>
> > --
> > Post: opendatakit@googlegroups.com
> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > Options:http://groups.google.com/group/opendatakit?hl=en
···
On Wed, Oct 12, 2011 at 1:05 PM, Martin Mosgaard Knudsen wrote:
> Thank again for trying to help.
>
> I maked the change, see here:
> http://dpaste.com/632943/ (I'll maked the code easier to look at)
>
> I still got the same error: (I understand more of the XML now, but not
> enought to make it right)
>
> Checking form...
> [Fatal Error] lowLevelTest2.xml:17:13: The element type "value" must
> be terminated by the matching end-tag "".
>
>
>
> On 12 Okt., 10:51, Gaetano Borriello wrote:
>> Change line 13 to:
>>
>> Here is question text
>>
>> and line 16 to:
>>
>> and here is hint text
>>
>> On Wed, Oct 12, 2011 at 12:25 AM, Martin Mosgaard Knudsen wrote:
>> > Hi Mitch
>>
>> > I tryed both what you and Andrew described: se the code here:
>>
>> >http://dpaste.com/632736/
>>
>> > But now gets this error:
>>
>> > Checking form...
>> > [Fatal Error] lowLevelTest2.xml:37:9: The element type "value" must be
>> > terminated by the matching end-tag "".
>>
>> > It do not like the inserted tag!? (I tryed inserting a new end
>> > tag, but it just crash)
>>
>> > On 11 Okt., 19:43, Mitch Sundt wrote:
>> >> The problem is in the select1 definition, as Andrew identified. You have:
>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>>
>> >> The tags here must contain a value that will be stored in the
>> >> submission record. This is like a coding value in an old-style
>> >> questionnaire. As written, you've defined a select1 but both of the choices
>> >> (option0 and option1) will code to nothing. A valid select1 would be:
>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> option0ChoiceCodingValue
>> >>
>> >>
>> >>
>> >> option1ChoiceCodingValue
>> >>
>> >>
>>
>> >> Mitch
>>
>> >> On Tue, Oct 11, 2011 at 6:42 AM, Martin Mosgaard Knudsen < martinmosga...@gmail.com> wrote:
>> >> > Hi Andrew
>>
>> >> > Thanks for fast reply.
>>
>> >> > But it seems very strange to me, and I'm not that into XML, but It's
>> >> > like there is more tags end tags
>>
>> >> > I'll tryed to change the tag in the to Gul> >> > value>. (Its allready in the part)
>>
>> >> > Now I get it error :
>> >> > Checking form...
>> >> > [Fatal Error] lowLevelTest2.xml:36:9: The element type "value" must be
>> >> > terminated by the matching end-tag "".
>>
>> >> > On 11 Okt., 14:53, Andrew Marder wrote:
>> >> > > Hi Martin,
>>
>> >> > > One possible problem is that your items have no values. You might try
>> >> > > replacing with something like Gul.
>>
>> >> > > Andrew
>>
>> >> > > On Tue, Oct 11, 2011 at 6:32 AM, Martin Mosgaard Knudsen wrote:
>> >> > > > Hi ODK team
>>
>> >> > > > I have big problems getting my form to work and upload it to the
>> >> > Aggregate
>> >> > > > server (I use version 0.9.8 on google App engine)
>>
>> >> > > > I'm trying to make a simple option field(with two options) in my form,
>> >> > but
>> >> > > > it won't parse? I'm using the ODK build site to make my form.
>>
>> >> > > > I'm getting this error when trying to Validate the form: (and I have
>> >> > the
>> >> > > > data id tag in place)
>>
>> >> > > > Checking form...
>> >> > > > Parsing form...
>> >> > > > Title: "lowLevelTest2"
>> >> > > > java.lang.NullPointerException
>> >> > > > at
>> >> > org.javarosa.xform.parse.XFormParser.parseItem(XFormParser.java:899)
>> >> > > > at
>> >> > > > org.javarosa.xform.parse.XFormParser.parseControl(XFormParser.java:610)
>> >> > > > at
>> >> > org.javarosa.xform.parse.XFormParser$7.handle(XFormParser.java:150)
>>
>> >> > > > and this when uploading to Aggregate:
>> >> > > > Error: Problem with JavaRosa Parsing Form:null
>>
>> >> > > > This is my form:
>>
>> >> > > > > >> > > > xmlns:h="http://www.w3.org/1999/xhtml"
>> >> > > > xmlns:ev="http://www.w3.org/2001/xml-events"
>> >> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> >> > > > xmlns:jr="http://openrosa.org/javarosa">
>> >> > > >
>> >> > > > lowLevelTest2
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > Her kan du svare?
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > Gul
>> >> > > >
>> >> > > >
>> >> > > > Grøn
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>>
>> >> > > > Can anybody help me to locate the problem? This would be really great
>> >> > if I
>> >> > > > can get this to work...
>>
>> >> > > > Thanks!
>>
>> >> > > > --
>> >> > > > Venlig hilsen
>>
>> >> > > > Martin Mosgaard Knudsen
>>
>> >> > > > Dommervænget 22 1. tv
>> >> > > > 4000 Roskilde
>>
>> >> > > > tlf.: 61 69 14 57
>> >> > > > email: martinmosga...@gmail.com / mm...@hotmail.com
>>
>> >> > > > --
>> >> > > > Post: opendatakit@googlegroups.com
>> >> > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> >> > > > Options:http://groups.google.com/group/opendatakit?hl=en-Skjultekst
>> >> > i anførselstegn -
>>
>> >> > > - Vis tekst i anførselstegn -
>>
>> >> > --
>> >> > Post: opendatakit@googlegroups.com
>> >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> >> > Options:http://groups.google.com/group/opendatakit?hl=en
>>
>> >> --
>> >> Mitch Sundt
>> >> Software Engineerhttp://www.OpenDataKit.org
>> >> University of Washington
>> >> mitchellsu...@gmail.com- Skjul tekst i anførselstegn -
>>
>> >> - Vis tekst i anførselstegn -
>>
>> > --
>> > Post: opendatakit@googlegroups.com
>> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> > Options:http://groups.google.com/group/opendatakit?hl=en
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
The problem is in the select1 definition, as Andrew identified. You
have:
The tags here must contain a value that will be stored in
the
submission record. This is like a coding value in an old-style
questionnaire. As written, you've defined a select1 but both of the
choices
(option0 and option1) will code to nothing. A valid select1 would
be: