W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [XMLHttpRequest] Comment on the example in Section 1

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 18 Apr 2008 00:07:33 -0500
Message-ID: <48082C95.1050100@mit.edu>
To: Subbu Allamaraju <subbu.allamaraju@gmail.com>
CC: public-webapi@w3.org

Subbu Allamaraju wrote:
> The difference is the xmlns declaration. The example requires an XHTML 
> resource to work.

Here's a test.xml which has no XHTML or indeed any namespace usage and still 
works with the test.html from my last mail:

   <!DOCTYPE root [
     <!ATTLIST root identifier ID #IMPLIED>
   <root identifier="one"/>

This works in Gecko and Opera.  I don't have Safari on hand right this second.

> In any case, IMHO, this example is a bit more complex than necessary.

That would be a quite separate issue from the "I don't seem to recall this 
working; have you tested it?" with implications of incompetence thing that you 
initially raised....

Received on Friday, 18 April 2008 05:08:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:10:01 UTC