Closed GoogleCodeExporter closed 8 years ago
I couldn't reproduce it.
The XmlDom is created. Maybe the xml was malformed and it's now fixed with new
content.
Here's my test case:
public void testMalformXml(){
String url = "http://www.bbc.co.uk/nepali/index.xml";
AjaxCallback<XmlDom> cb = new AjaxCallback<XmlDom>(){
@Override
public void callback(String url, XmlDom object, AjaxStatus status) {
done(url, object, status);
}
};
cb.url(url).type(XmlDom.class);
aq.ajax(cb);
waitAsync();
XmlDom xml = (XmlDom) result;
assertNotNull(xml);
AQUtility.debug(xml);
}
Original comment by tinyeeliu@gmail.com
on 30 Nov 2012 at 2:18
Original comment by tinyeeliu@gmail.com
on 30 Nov 2012 at 2:19
[deleted comment]
Thanks a lot for the reply.
And you were right ,it was "http://www.bbc.co.uk/nepali/index.xml" issue,rather
than Aquery issue.
And lastly,the way you have made the XmlDom available on Aquery has made our
life much easier and thanks a lot for this incredible class.
Original comment by sanimap@gmail.com
on 2 Dec 2012 at 8:45
Original issue reported on code.google.com by
sanimap@gmail.com
on 29 Nov 2012 at 12:48