And IE is not parsing DAV too (http://pastebin.com/m1c44dfc1)
On 10 fév, 14:57, mfc_alpha <[email protected]> wrote: > Hello! > I use GWT to parse response from a lighttpd server. > The xml looks like : ( full xml athttp://pastebin.com/m63cd0ec8) > > <?xml version="1.0" encoding="utf-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ > TR/xhtml1/DTD/xhtml11.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> > ... > <body> > <h2>Index of /webdav/</h2> > <div class="list"> > <table summary="Directory Listing" cellpadding="0" cellspacing="0"> > <thead><tr><th class="n">Name</th><th class="m">Last Modified</th><th > class="s">Size</th><th class="t">Type</th></tr></thead> > <tbody> > <tr><td class="n"><a href="../">Parent Directory</a>/</td><td > class="m"> </td><td class="s">- </td><td > class="t">Directory</td></tr> > <tr><td class="n"><a href="web/">web</a>/</td><td class="m">2009- > Feb-10 14:46:51</td><td class="s">- </td><td > class="t">Directory</td></tr> > </tbody> > </table> > </div> > <div class="foot">lighttpd/1.4.20</div> > </body> > </html> > > So I use the XMLParser.parse function to parse it. That's fine for > Firefox and Safari but I get a DOMException for IE. > This exception say: > > com.google.gwt.xml.clent.impl.DOMParseException: Failed to parse: <? > xml version="1.0" encoding="utf-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ > TR/xhtml > > Looks strange to me to failed on parsing the DOCTYPE ... > > It's there a workaround? Any help will be appreciate! > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
