-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
XML encoding is lost on canonicalization #70
Comments
Correct me if I am wrong, but canonicalization, and therefore the call to |
I can't say it's bad, it just does strange thing that leads to not readable output.
|
AFAIK canonical XML is always UTF-8 so my simple fix in example should be OK for any XML. |
Can you please send a pull request with your fix? Thanks! |
DOMNode::C14N() call removes encoding from XML somehow. This is bad for comparison of non ascii xmls, because it makes them unreadable. Please see example: https://3v4l.org/FvCAs
The text was updated successfully, but these errors were encountered: