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

Parser accepts and translates non-XML entities #12

Open
laurie71 opened this issue Feb 8, 2011 · 0 comments
Open

Parser accepts and translates non-XML entities #12

laurie71 opened this issue Feb 8, 2011 · 0 comments

Comments

@laurie71
Copy link

laurie71 commented Feb 8, 2011

I didn't see anything in the documentation about defining additional entities for the parser to recognize, so I was a bit surprised to discover it recognizes entities not defined in XML -- for example, © is translated into © in spite of being undefined by the XML specification. The only entities defined by XML are " / & / ' / < / > and those are the only ones that should be accepted by the parser unless the document contains additional definitions.

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