IOLib could use URL.openStream() to load external contents.
This would allow to use any uri schemes, e.g.
"platform:/plugin/com.example.plugin/queries/test.xq" (when running in an eclipe environment)
Peter M. Fischer
SVN Revision #4293: Removed limitations on URL format (http, https) from IOLib. As long as an URI is absolute, retrieval should work via openConnection(). Otherwise, file I/O is used.