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

Test expression "(c == '\n' || c == '\r' || '\t')" always returns true #5

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

In XMLWriter.m you'll find the following code:

if (c == '\n' || c == '\r' || '\t') {
                    // valid;
                    rangeLength++;

                    continue;
                }

But the test expression will always be true. It is missing a "c ==".

Original issue reported on code.google.com by ken.jons...@gmail.com on 27 Aug 2011 at 3:18

@GoogleCodeExporter
Copy link
Author

Thanks for the bug report! The issue has been fixed and is downloads have been 
updated.

Original comment by skjol...@gmail.com on 29 Aug 2011 at 8:24

  • Changed state: Fixed

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

No branches or pull requests

1 participant