General question about Form Builders and Validator

Firstly, thanks to everyone involved in ODK - it is an amazing piece
of software and we hope to soon be using it to track cases of malaria.
Anyway....

Have found building a form with ODKBuild to be very straightforward.
However there are two things that are puzzling me:

  1. When I download a form I built completely in ODKBuild and then test
    it with ODK Validator, it passes, but gives the following warning:

Warning: 1 Unrecognized attributes found in Element [data] and will be
ignored: [id] Location:

Problem found at nodeset: /html/head/model/instance/data
With element <data id="IRSOperators23052011">

Does this mean anything? Have tried changing it to a smaller id etc,
but never been able to get rid of the warnings. Everything works, but
it bugs me.....

  1. Using the same form which passed the validator, I tried to load it
    into Purcforms to get a bit more under the skin. However it doesn't
    seem to be able to load the form and gives an "Unexpected Error" "No
    Stack Trace" I thought that maybe the form was a bit complex, but
    simplifying to a few select1 questions didn't help.

Any ideas?

Hi,

Firstly, thanks to everyone involved in ODK - it is an amazing piece
of software and we hope to soon be using it to track cases of malaria.
Anyway....

Have found building a form with ODKBuild to be very straightforward.
However there are two things that are puzzling me:

  1. When I download a form I built completely in ODKBuild and then test
    it with ODK Validator, it passes, but gives the following warning:

Warning: 1 Unrecognized attributes found in Element [data] and will be
ignored: [id] Location:

Problem found at nodeset: /html/head/model/instance/data
With element

Does this mean anything? Have tried changing it to a smaller id etc,
but never been able to get rid of the warnings. Everything works, but
it bugs me.....

  1. Using the same form which passed the validator, I tried to load it
    into Purcforms to get a bit more under the skin. However it doesn't
    seem to be able to load the form and gives an "Unexpected Error" "No
    Stack Trace" I thought that maybe the form was a bit complex, but
    simplifying to a few select1 questions didn't help.

Do you mind attaching the form for us to have a look?

··· On Mon, May 23, 2011 at 4:33 PM, dj_bridges wrote:

Any ideas?

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

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

or add it to dpaste.com and send us the link.

as to the validation, use xmlns instead of id and it should remove the warning.

··· On Mon, May 23, 2011 at 07:12, Daniel Kayiwa wrote: > > Hi, > > On Mon, May 23, 2011 at 4:33 PM, dj_bridges wrote: >> >> Firstly, thanks to everyone involved in ODK - it is an amazing piece >> of software and we hope to soon be using it to track cases of malaria. >> Anyway.... >> >> Have found building a form with ODKBuild to be very straightforward. >> However there are two things that are puzzling me: >> >> 1) When I download a form I built completely in ODKBuild and then test >> it with ODK Validator, it passes, but gives the following warning: >> >> Warning: 1 Unrecognized attributes found in Element [data] and will be >> ignored: [id] Location: >> >> Problem found at nodeset: /html/head/model/instance/data >> With element >> >> Does this mean anything? Have tried changing it to a smaller id etc, >> but never been able to get rid of the warnings. Everything works, but >> it bugs me..... >> >> 2) Using the same form which passed the validator, I tried to load it >> into Purcforms to get a bit more under the skin. However it doesn't >> seem to be able to load the form and gives an "Unexpected Error" "No >> Stack Trace" I thought that maybe the form was a bit complex, but >> simplifying to a few select1 questions didn't help. >> > > Do you mind attaching the form for us to have a look? > >> >> Any ideas? >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > > > -- > If we keep uppermost in our minds the unkind and unjust acts of others, we > shall find it impossible to love them as Christ has loved us; but if our > thoughts dwell upon the wondrous love and pity of Christ for us, the same > spirit will flow out to others. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Thanks for the comments.

Changing the id to xmlns did the trick for the validator.

Here is the form I used which gave me the errors when trying to load
it into purcforms: http://dpaste.com/hold/545818/

Cheers
Dan

Thanks for the comments.

Changing the id to xmlns did the trick for the validator.

Here is the form I used which gave me the errors when trying to load
it into purcforms: http://dpaste.com/hold/545818/

This is a bug in purcforms. Will fix it.

··· On Tue, May 24, 2011 at 10:38 AM, dj_bridges wrote:

Cheers
Dan

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

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.