XPath evaluation: Type mismatch

I am getting the following error on one specific question on a form:

EPath evaluation: type mismatch There was a problem with the path
/data/section_c/sheep/sheep_1213/sheep_size_1213 which refers to the
location /data/section_c[1]/Sheep[1]/sheep_1213/sheep_size_1213 which was
not found. This often means you made a typo in the question reference, or
the question no longer exists in the form.

The question it is referring to is a hidden formula. I can't replicate the
error most of the time, only some of the time. And I can't figure out what
is causing the error. The second question ID has [1] in the brackets and I
don't know why and I can't find that question ID anywhere in the form.

Hey,

Just based on the two errors, one possibility is that it's a casing issue?
Note that "Sheep" is uppercase in the second path.

I'd recommend using lowercase for all question IDs to avoid having to worry
about this.

ยทยทยท On Sat, Oct 3, 2015 at 11:28 PM, Jason wrote:

I am getting the following error on one specific question on a form:

EPath evaluation: type mismatch There was a problem with the path
/data/section_c/sheep/sheep_1213/sheep_size_1213 which refers to the
location /data/section_c[1]/Sheep[1]/sheep_1213/sheep_size_1213 which was
not found. This often means you made a typo in the question reference, or
the question no longer exists in the form.

The question it is referring to is a hidden formula. I can't replicate
the error most of the time, only some of the time. And I can't figure out
what is causing the error. The second question ID has [1] in the brackets
and I don't know why and I can't find that question ID anywhere in the form.

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.