somkiattha / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

external_choices .xlsx conversion fails on both http://opendatakit.org/xiframe/ and xlsform for Windows #1126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download 
http://opendatakit.org/wp-content/uploads/2014/08/select_one_external.xlsx  
(the external select demo form)
2. upload http://opendatakit.org/xiframe/  Get errors below.
3. drag-n-drop on xlsform.exe get only one output file

What is the expected output? What do you see instead?

From http://opendatakit.org/xiframe/ I'd expect no errors from a demo form 
provided by ODK, instead I get

ODK Validate Warnings:
XForm Parse Warning: Warning: 1 Unrecognized attributes found in Element 
[input] and will be ignored: [query] Location:

    Problem found at nodeset: /html/body/input
    With element <input query="instance('counties')/root/item[state= /select_one_external/state ]" ref="/select_one_external/county"><label ref="jr:itext('/select_one_external/county:label')"/>

    Problem found at nodeset: /html/body/input
    With element <input query="instance('counties')/root/item[state= /select_one_external/state ]" ref="/select_one_external/county"><label ref="jr:itext('/select_one_external/county:label')"/>

XForm Parse Warning: Warning: 1 Unrecognized attributes found in Element 
[input] and will be ignored: [query] Location:

    Problem found at nodeset: /html/body/input
    With element <input query="instance('cities')/root/item[state= /select_one_external/state  and county= /select_one_external/county ]" ref="/select_one_external/city"><label ref="jr:itext('/select_one_external/city:label')"/>

    Problem found at nodeset: /html/body/input
    With element <input query="instance('cities')/root/item[state= /select_one_external/state  and county= /select_one_external/county ]" ref="/select_one_external/city"><label ref="jr:itext('/select_one_external/city:label')"/>

FROM xlsform.exe I'd expect, as described in the documentation, 2 files in the 
output folder.  I get only one file.

What version of the product are you using? On what operating system?

1.4.5 windows (uploading with chrome)

demo input form used attached (from 
http://opendatakit.org/wp-content/uploads/2014/08/select_one_external.xlsx)

demo output from the same for as generated by xlsform.exe also attached.

Original issue reported on code.google.com by dges...@gmail.com on 5 Apr 2015 at 5:44

Attachments: