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

Exception parsing Copyright simbol #21

Open
luispereira opened this issue Jan 13, 2017 · 1 comment
Open

Exception parsing Copyright simbol #21

luispereira opened this issue Jan 13, 2017 · 1 comment

Comments

@luispereira
Copy link

luispereira commented Jan 13, 2017

I'm receiving a file from the server and parsing an xml file with some especial characters like © on a value e.g.:

<string name="copyrightText">Something &copy;</string>

&#169; and \u00a9 works but not &copy;

But it always crash and burns when trying to parse it. I'm missing something here?
Since &amp; is correctly parsed I expected the same happened to the copyright symbol.

@luispereira luispereira changed the title Copyright simbol crashes the parse Exception parsing Copyright simbol Jan 13, 2017
@magneticflux-
Copy link

@luispereira The &copy; reference is not valid XML, only valid HTML. See here for all valid XML and HTML codes.

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

2 participants