<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Documentation and code say different things"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Documentation and code say different things"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Documentation and code say different things</title>
				<description><![CDATA[ Hi all,

I am newbie to geonames but an experienced developer with 17 years of experience. Having said that, the doc says:
<blockquote>country	string : country code, ISO-3166 (optional)	Default is all countries. The country parameter may occur more than once, example: country=FR&country=GP&nbsp;
		</blockquote>

But the code says this:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>public void setCountryCode&#40;String countryCode&#41;
			throws InvalidParameterException {
		if &#40;countryCode != null && countryCode.length&#40;&#41; != 2&#41; {
			throw new InvalidParameterException&#40;"invalid country code "
					+ countryCode&#41;;
		}
		this.countryCode = countryCode;
	}</pre>
		</div>

How can I set multiple countries please?

Thanks!
Kind regards
Lorenwo]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4170.page#12327</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4170.page#12327</link>
				<pubDate><![CDATA[Wed, 17 Apr 2013 06:20:59]]> GMT</pubDate>
				<author><![CDATA[ lawrence_o]]></author>
			</item>
			<item>
				<title>Re:Documentation and code say different things</title>
				<description><![CDATA[ you are right, the java client does not yet support multiple countries in the search parameters. This functionality will be added with the next release. The documention you refer to is for the web service. The client is just a subset of it.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4170.page#12352</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4170.page#12352</link>
				<pubDate><![CDATA[Sat, 27 Apr 2013 21:45:10]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>