Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curly/smart quotes result in an invalid XForm #110

Closed
yanokwa opened this issue May 14, 2017 · 3 comments
Closed

Curly/smart quotes result in an invalid XForm #110

yanokwa opened this issue May 14, 2017 · 3 comments

Comments

@yanokwa
Copy link
Contributor

yanokwa commented May 14, 2017

If you have an XLSForm with curly/smart quotes, when you convert it to an XForm, the form will contain invalid (as far as XML and ODK Validate) characters.

dumb/straight quotes, form is valid

dumb-quote

curly/smart quotes, form is invalid

smart-quote

I propose pyxform either throw a warning or convert the smart quotes to dumb quotes.

@lognaturel
Copy link
Contributor

I would prefer converting smart quotes to dumb quotes since website examples have smart quotes and the intent is unambiguous.

@dorey
Copy link
Contributor

dorey commented May 31, 2017

Duplicate of #85

@dorey dorey closed this as completed May 31, 2017
@lognaturel
Copy link
Contributor

Oh, hah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants