-
Notifications
You must be signed in to change notification settings - Fork 27
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 Prolog inconsistence #33
Comments
from #32 (comment):
Sure, go ahead! 👍 I'm a bit surprised that the phantomjs in test-webkit doesn't preserve the declaration, but I guess that's just because of a relatively old js engine in there. I've found this stackoverflow thread which indicates that browsers weren't (or still aren't) very consistent on this… or maybe the standard just isn't very precise, idk. How did you thing about implementing this? Two possibilities I can think of:
|
I would love for this to be fixed in the next version of JXON. Any idea when this will be merged in and released? cc @tyrasd, @laubstein |
Given:
Using Chrome 52:
Using Firefox 48:
Using node (npm run test-node):
Using Browserify (npm run test-webkit):
As JXON is a 'lossless', the xml prolog need to be consistent in all serializations.
Expected result:
The text was updated successfully, but these errors were encountered: