Xpath evaluation: cannot handle function 'selected'

I'm getting this error using 1.21 (1014) when opening a form that has
passed ODK Validate.

Any idea what this means?

Nik

No idea. Double-check that you are using the latest validate (1.2.2).

Send me the form and I'll take a look...

Mitch

··· On Fri, Sep 14, 2012 at 5:16 AM, ゴー・ニコライ wrote:

I'm getting this error using 1.21 (1014) when opening a form that has
passed ODK Validate.

Any idea what this means?

Nik

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

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

Hi there,

Thanks so much for all of your help these days. I am now getting this
error and have spent a few hours trying to solve the problem. Any ideas?

Many thanks,
Lisa

_26Sept.xls (116 KB)

··· On Friday, September 14, 2012 10:41:55 AM UTC-7, Mitch wrote:

No idea. Double-check that you are using the latest validate (1.2.2).

Send me the form and I'll take a look...

Mitch

On Fri, Sep 14, 2012 at 5:16 AM, ゴー・ニコライ <nikol...@gmail.com <javascript:> wrote:

I'm getting this error using 1.21 (1014) when opening a form that has
passed ODK Validate.

Any idea what this means?

Nik

--
Post: opend...@googlegroups.com <javascript:>
Unsubscribe: opendatakit...@googlegroups.com <javascript:>
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com <javascript:>

See line 119. It says:

selected${d_7_3} = '5' and ${months} < 2

That is incorrect syntax.

I think you meant to write:

selected(${d_7_3}, '5') and (${months} < 2)

The extra parentheses are just to be clear.

Gaetano

··· On Wed, Sep 26, 2012 at 2:01 PM, Lisa Zook wrote: > Hi there, > > Thanks so much for all of your help these days. I am now getting this error > and have spent a few hours trying to solve the problem. Any ideas? > > Many thanks, > Lisa > > On Friday, September 14, 2012 10:41:55 AM UTC-7, Mitch wrote: >> >> No idea. Double-check that you are using the latest validate (1.2.2). >> >> Send me the form and I'll take a look... >> >> Mitch >> >> On Fri, Sep 14, 2012 at 5:16 AM, ゴー・ニコライ wrote: >>> >>> >>> I'm getting this error using 1.21 (1014) when opening a form that has >>> passed ODK Validate. >>> >>> Any idea what this means? >>> >>> Nik >>> >>> -- >>> Post: opend...@googlegroups.com >>> Unsubscribe: opendatakit...@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >> >> >> >> >> -- >> Mitch Sundt >> Software Engineer >> University of Washington >> mitche...@gmail.com > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

You saved the day. Thank you!

··· On Wednesday, September 26, 2012 2:21:49 PM UTC-7, Gaetano Borriello wrote:

See line 119. It says:

selected${d_7_3} = '5' and ${months} < 2

That is incorrect syntax.

I think you meant to write:

selected(${d_7_3}, '5') and (${months} < 2)

The extra parentheses are just to be clear.

Gaetano

On Wed, Sep 26, 2012 at 2:01 PM, Lisa Zook <lisa....@gmail.com<javascript:>> wrote:

Hi there,

Thanks so much for all of your help these days. I am now getting this
error
and have spent a few hours trying to solve the problem. Any ideas?

Many thanks,
Lisa

On Friday, September 14, 2012 10:41:55 AM UTC-7, Mitch wrote:

No idea. Double-check that you are using the latest validate (1.2.2).

Send me the form and I'll take a look...

Mitch

On Fri, Sep 14, 2012 at 5:16 AM, ゴー・ニコライ nikol...@gmail.com wrote:

I'm getting this error using 1.21 (1014) when opening a form that has
passed ODK Validate.

Any idea what this means?

Nik

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

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

--
Post: opend...@googlegroups.com <javascript:>
Unsubscribe: opendatakit...@googlegroups.com <javascript:>
Options: http://groups.google.com/group/opendatakit?hl=en