We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<!DOCTYPE html> ...<script> var input = '<?xml version="1.0" encoding="windows-1252"?><root><child1>value1</child1></root>'; var parser = new DOMParser(); var doc = parser.parseFromString(input, 'text/xml'); w(new XMLSerializer().serializeToString(doc)) </script>
logs:
<?xml version="1.0" encoding="UTF-8"?> <root><child1>value1</child1></root>
in Firefox,
<?xml version="1.0" encoding="windows-1252"?><root><child1>value1</child1></root>
in Chrome and WebKit, and
<root><child1>value1</child1></root>
per spec.
The text was updated successfully, but these errors were encountered:
Implement XML parser; fixes to XMLSerializer and CDATASection support
4852c2a
Bug: w3c/DOM-Parsing#29 Bug: w3c/DOM-Parsing#38 Bug: w3c/DOM-Parsing#47 Bug: w3c/DOM-Parsing#48 Bug: w3c/DOM-Parsing#50 Bug: w3c/DOM-Parsing#52 Bug: w3c/DOM-Parsing#59 Bug: w3c/DOM-Parsing#71 Change-Id: I76735c4be1d9738c690417207301f737e3a3c9ff
No branches or pull requests
logs:
in Firefox,
in Chrome and WebKit, and
per spec.
The text was updated successfully, but these errors were encountered: