XML Extras Online Tests
| Test | Notes |
| get.xhtml | Testing XMLHttpRequest in XHTML |
| get1.html | No path to the file in XMLHttpRequest.open(), i.e. in the same folder. |
| get2.html | Relative path to the file in XMLHttpRequest.open() |
| get3.html | Relative path to the file in XMLHttpRequest.open() |
| get4.html | Absolute path to the file in XMLHttpRequest.open() |
| syncget.html | Testing synchronous GET, IE compatible. |
| illegalget.html | This test should not work; the testcase is trying to open a connection to a file on a different host. |
| xget1.html | Asynchronous get, IE compatible. |
| 404syncget.html | Synchronous GET, file not found error, IE compatible. |
| parseserialize.html | DOMParser.parseFromString. |
| parseserializedisplay.html | DOMParser.parseFromString with xml-stylesheet PI. |
| xget2.html | Synchronous get, data is HTML, IE compatible. |
| xget3.html | Synchronous get, XML data has xml-stylesheet PI, IE compatible. |
| xgetinvalid.html | Asynchronous get, invalid XML data, IE compatible. |
| xgetabort.html | Asynchronous get, aborted, IE compatible. |
| xgetopen.html | Asynchronous get, open() should abort, IE compatible. |
| xgetreuse1.html | Asynchronous get, reuse the object for second load, IE compatible. |
The above tests only include tests that do not require server side scripts. For samples that require server side scripts (for example HTML POST commands) see the files in the source repository. Note that you must put these up on your own webserver for testing purposes, although you can view these online.