Hi Team, I keep getting the error message below when converting XLSForm to
XML.
..
Error: ODK Validate Errors: org.javarosa.core.log.WrappedException: Error
evaluating ${hh1stname1}: org.javarosa.xpath.XPathTypeMismatchException:
XPath evaluation: type mismatch indexed-repeat(): parameter 2 must be a
parent of the field in parameter 1 =>
org.javarosa.xpath.XPathTypeMismatchException[XPath evaluation: type
mismatch indexed-repeat(): parameter 2 must be a parent of the field in
parameter 1] >> Something broke the parser. See above for a hint. Result:
Invalid
The problem is with this calculation. hhno (parameter 2) is not a parent of
firstname (parameter 1) -- you should change the formula to refer to the
hh1stnames group in parameter 2:
indexed-repeat(${firstname}, ${hh1stnames}, 1)
ยทยทยท
On Thu, Oct 31, 2013 at 6:20 AM, Collins McAdoyo wrote:
Hi Team, I keep getting the error message below when converting XLSForm to
XML.
..
Error: ODK Validate Errors: org.javarosa.core.log.WrappedException: Error
evaluating ${hh1stname1}: org.javarosa.xpath.XPathTypeMismatchException:
XPath evaluation: type mismatch indexed-repeat(): parameter 2 must be a
parent of the field in parameter 1 =>
org.javarosa.xpath.XPathTypeMismatchException[XPath evaluation: type
mismatch indexed-repeat(): parameter 2 must be a parent of the field in
parameter 1] >> Something broke the parser. See above for a hint. Result:
Invalid