New issue 30 by mikenereson: manual "Loading an existing XML document" out
of date
http://code.google.com/p/xmltool/issues/detail?id=30
What steps will reproduce the problem?
The sample code:
URL yahooGeoCode = new
URL("http://local.yahooapis.com/MapsService/V1/geocode?appid=YD-9G7bey8_JXxQP6rxl.fBFGgCdNjoDMACQA--&state=QC&country=CA&zip=H1W3B8");
System.out.println(XMLDoc.from(yahooGeoCode, true).toString());
System.out.println(XMLDoc.from(yahooGeoCode,
true).getText("Result/City"));
Throws IllegalArgumentException: Invalid argument count: expected 2,
recieved 1.
I am running 2.11
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 30 by mathieu.carbou: manual "Loading an existing XML
document" out of date
http://code.google.com/p/xmltool/issues/detail?id=30
Hi,
This code works well. Using JDK 5 or 6. I've added the unit test.
Be careful: if it does not work, it could be caused of some libraries in
your project
which overrides JDK services, like xerces and xalan do in their jar
META-INF/services/*