title: target namespace not found for schema/module
body: <p>I am relatively new to XQuery. However, I have done a decent amount of research on my issue and do not understand what I am doing wrong. Here is my code:</p>
  
  <pre><code>(: XQuery main module :)
  xquery version "3.0" encoding "utf-8";
  
  import schema namespace output =  "http://www.w3.org/2010/xslt-xquery-serialization";
  import module namespace http = "http://expath.org/ns/http-client";
  import module namespace rand = "http://www.zorba-xquery.com/modules/random";
  
  declare variable $URL as xs:string := ();
  declare variable $AF_Tok as xs:integer := rand:seeded-random-between(23 (:This is the seed, needs to be randomized too, will fix later.:),
                                                                   0  (:This is the lower bound for every number in the sequence.:),
                                                                   9  (:This is the higher bound for every number in the sequence.:),
                                                                   32 (:This is the number of random numbers in the returned sequence:)
                                                                   );
  declare variable $Client_ID as xs:string := ("XXXXX");
  declare variable $Client_Secret as xs:string := ("XXXXX");
  
  &lt;test&gt;
      &lt;random_number&gt;{$AF_Tok}&lt;/random_number&gt;
  &lt;/test&gt;
  </code></pre>
  
  <p>I get the same error in both eXist and Sausalito Tools for Eclipse. Could anyone test this out and let me know if you also get the error? I'm stumped, any help would be appreciated.</p>
  
  <p>:6,1: static error [err:XQST0059]: "<a href="http://www.zorba-xquery.com/modules/random" rel="nofollow">http://www.zorba-xquery.com/modules/random</a>": target namespace not found for schema/module <a href="http://www.zorba-xquery.com/modules/random" rel="nofollow">http://www.zorba-xquery.com/modules/random</a> </p>
  
  <p>I thought that it could be a zorba issue but I get the same errors for the w3 and expath namespaces as well.</p>
  
  <p>UPDATE: I'm using Mac OS X 10.8 btw</p>