title: XQuery Error: E For input string: "5770000"
body: <p>I want to grab some data from xml by xquery.
  The original xml is something like:</p>
  
  <pre><code>&lt;mondial&gt;
  &lt;country id="AAA" name="BBB"&gt;
  &lt;name&gt;BBB&lt;/name&gt;
  &lt;city id="CCC" country="AAA"&gt;
  &lt;name&gt;DDD&lt;/name&gt;
  &lt;population&gt;XXXX&lt;/population&gt;
  &lt;located_at type="XX"/&gt;
  &lt;/city&gt;
  ...
  &lt;/country&gt;
  ...
  &lt;/mondial&gt;
  </code></pre>
  
  <p>I write a XQuery like that:</p>
  
  <pre><code>let $cs:=//city[population &gt;5000000 and located_at/@type='sea']
  let $countries := //country
  for $country in $countries
  for $city in $cs
  where $country/@id =$city/@country
  return &lt;seacity&gt;{data($city/name)},{data($country/name)}&lt;/seacity&gt;
  </code></pre>
  
  <p>I use Oxygen to do the conversion. An error come out:</p>
  
  <blockquote>
    <p>E For input string: "5770000"</p>
  </blockquote>
  
  <p>I don't know where was wrong.
  <a href="https://i.stack.imgur.com/uYMuh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uYMuh.png" alt="enter image description here"></a></p>