SEL-Columbia / pyxform

A Python package to create XForms for ODK Collect.
21 stars 9 forks source link

make column headings case-insensitive #76

Open MartijnR opened 11 years ago

MartijnR commented 11 years ago

assumed this is case-sensitive across the board, but seen in example below (label starts with a capital, and as a result labels are not included in XML result - it passes validation). Some spreadsheet software seems to capitalize automatically.

Screen Shot 2013-02-21 at 9 58 04 AM

prabhasp commented 11 years ago

We used to reject this. Auto lowrcasing is a more user friendly solution, and one I would personally advocate. On Feb 21, 2013 11:59 AM, "Martijn van de Rijdt" notifications@github.com wrote:

assumed this is case sensitive across the board, but seen in example below (label starts with a capital, and as a result labels are not included in XML result - it passes validation)

[image: Screen Shot 2013-02-21 at 9 58 04 AM]https://f.cloud.github.com/assets/627350/181163/e371b232-7c47-11e2-9535-507988a05a9b.png

— Reply to this email directly or view it on GitHubhttps://github.com/modilabs/pyxform/issues/76.

nathanathan commented 11 years ago

Lower casing the column headers leads to some issues. I'm going to make aliases for List_name, Name, Label and Type instead.