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

XML $.ajax() parseerror #42

Open
AYZ opened this issue Jun 5, 2011 · 0 comments
Open

XML $.ajax() parseerror #42

AYZ opened this issue Jun 5, 2011 · 0 comments

Comments

@AYZ
Copy link
Owner

AYZ commented Jun 5, 2011

Different browsers handle mal-formed XML files in a different way.
There seems to be no "browser independence" provided by the jQUery.ajax() method

Note that in particular it returns "success" even for badly-formed XML!!

So, options are:
a) update myO_ajax() with browser-specific error handling
b) continue to ignore the errors (and perhaps add DTD validation "on server side")
c) find some way to invoke DTD validation from inside myO

refs:
http://forum.jquery.com/topic/checking-for-well-formed-xml-when-using-ajax
http://www.ilinsky.com/articles/XMLHttpRequest/

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

No branches or pull requests

1 participant