Skip to content

XML $.ajax() parseerror #42

Description

@AYZ

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/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions