Simple Data Instance Error in ODK

Hi there,

I tried to create the a simple data instance as below and I got error
in ODK collect. It says XPath evaluation:unsupported construct
[filter expression].

<?xml version="1.0" encoding="UTF-8"?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>DataInstance Form</h:title>


<DataInstance_Form id="DataInstance_Form">





</DataInstance_Form>


















</h:head>
<h:body>

Province






District





</h:body>
</h:html>

Thanks for your support and I am looking forward to hearing from you.

Best regards,
Chan Choth

The filter constructions are available in KoBo Collect, but not in the core
ODK tools because of a divergence in the underlying javarosa library that
parses the form definition.

The javarosa developers are working toward bringing those changes back into
the main javarosa branch.

We will update the ODK tools when that happens.

Note that this divergence means that a form with this functionality cannot
be processed by ODK Briefcase, Form Uploader or uploaded to ODK Aggregate.

Mitch

··· On Mon, Jun 4, 2012 at 8:13 AM, Chan Choth wrote:

Hi there,

I tried to create the a simple data instance as below and I got error
in ODK collect. It says XPath evaluation:unsupported construct
[filter expression].

<?xml version="1.0" encoding="UTF-8"?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>DataInstance Form</h:title>


<DataInstance_Form id="DataInstance_Form">





</DataInstance_Form>


















</h:head>
<h:body>

Province






District





</h:body>
</h:html>

Thanks for your support and I am looking forward to hearing from you.

Best regards,
Chan Choth

--
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

Chan,
I see you are trying to create data instances for Province and District.
There is some help on how to do this here: Cascading Selections
Tutorialhttp://www.kobotoolbox.org/node/96
.

Good Luck,

☞§※☼:airplane::open_umbrella::slight_smile:
~Neil