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

Need a way to disable entity parsing #31

Open
hanshuebner opened this issue Oct 6, 2022 · 1 comment
Open

Need a way to disable entity parsing #31

hanshuebner opened this issue Oct 6, 2022 · 1 comment

Comments

@hanshuebner
Copy link
Contributor

Currently, luaexpat always parses standard XML entities into their corresponding characters. While this is convenient for most applications, it inhibits creating programs that preserve entity encoding when serializing a document. expat provides for the XML_SetParamEntityParsing function to control whether it parses entities, and it would be useful to expose control over this functionality in LuaExpat, maybe as a parser:setentityparsing function.

@hanshuebner
Copy link
Contributor Author

hanshuebner commented Oct 7, 2022

It seems that this reported bug in expat has never been fixed, though.

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

No branches or pull requests

1 participant