osayouba / opendatakit

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

select_one_external only seems to work for cascading examples #1131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attempt to parse the attached file through xlsform.exe

What is the expected output? What do you see instead?
Valid xml output (optimally with the expected "itemsets.csv" but that's a 
different bug)

What version of the product are you using? On what operating system?
1.45 on Windows 7

Please provide any additional information below.

From xlsform.org:

"Enabling external selects is straightforward. - Instead of select_one for the 
prompt type, use select_one_external. - Instead of the choices sheet, put 
external choices in the external_choices sheet." 

Suggests that for a form with a large number of options, one should be able to 
use external choices so they're loaded from itemsets.csv rather than parsed on 
opening the .xml file and wedging up memory.

The only examples The Google can find are cascading choices, all about drilling 
down through supersets to a small geographic locality from a larger one.  In 
each example, the initial choice list is an "example of a standard one" meaning 
it is listed in the "choices" tab rather than the "external_choices" tab.  If 
you have a "select_one_external" without a choice_filter entry (as you would if 
it was not part of a cascading list), conversion fails with a 

[row : {n}] List name not in choices sheet: {name} 

error. 

Original issue reported on code.google.com by dges...@gmail.com on 19 Apr 2015 at 1:56