Hi All,

I have an xml file "media.xml" under "/db/wb/portfolio/", and it is accessible through browser in the URI: http://localhost:8080/exist/rest/db/wb/portfolio/media.xml.

However, when I was doing a simple query in the Sandbox like this:

  let $mediaNodes := doc('/db/wb/portfolio/media.xml')
  return $mediaNodes//media[contains(@product,"wb")]

This used to work and send back 20 results. However, since yesterday, it began to fail, just return 0 results. Also, if I specify the full URI like:
  let $mediaNodes := doc('http://localhost:8080/exist/rest/db/wb/portfolio/media.xml')

it will occasionally work but extremely slow and making my computer a very high CPU usage.

My friend has copied the "media.xml" and do the same XQuery on his local eXist, everything works. So I am pretty sure I must screwed something up for the eXist setting, could anybody help me out here please, thanks in advance.


Robert Han
Dakota Systems, Inc.
35 E. Wacker Drive, Suite 1970
Chicago, IL 60601 USA

T:      312-263-4400
F:      312-263-3400
M:      847-609-5845