wolfgangmm / tei-simple-pm

An implementation of the TEI Simple ODD extensions for processing models in XQuery.
http://showcases.exist-db.org/exist/apps/tei-simple/index.html
20 stars 9 forks source link

broken links in eXide outline for generated xquery modules #7

Open joewiz opened 9 years ago

joewiz commented 9 years ago

Module import statements in the generated XQuery files like generated/documentation-web.xql look like this:

import module namespace html="http://www.tei-c.org/tei-simple/xquery/functions" at "xmldb:exist://embedded-eXist-server/db/apps/tei-simple/content/html-functions.xql";

Here, the path embedded-eXist-server causes eXide's outline pane to generate this error when clicking on links to a function like html:link:

Failed to load document embedded-eXist-server/db/apps/tei-simple/content/html-functions.xql: 404 Not Found

I tried changing changing model.xql to import config.xqm so it could make use of $config:app-root instead of system:get-module-load-path, but even after making this change and regenerating, I still saw the links to embedded-eXist-server.