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

Setting 'method' option to 'text' in ElementTree.write causes errors #11

Open
bocajspear1 opened this issue Jul 20, 2013 · 0 comments
Open

Comments

@bocajspear1
Copy link

If the 'method' option in ElementTree.write is set to 'text', which is taken as valid input, this conditional, at line 299, is run:

 if (options.method === "text") {
    _serialize_text(sb, self._root, encoding);
  }

However, 'self', is undefined in this context, as well as 'encoding', and the function '_serialize_text' is nonexistent. Each of these will throw errors.

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

1 participant