If stylesheet a.xslt (stored at /db/test-xslt-import/a.xslt) contains <xsl:import href="b.xslt"/> fails to import b.xslt even when b.xslt is stored at /db/test-xslt-import/b.xslt.
Changing to the full path: <xsl:import href="xmldb:exist:///db/test-xslt-import/b.xslt"/> or <xsl:import href="exist:///db/test-xslt-import/b.xslt"/> works, but the relative path should also work.
If stylesheet
a.xslt(stored at/db/test-xslt-import/a.xslt) contains<xsl:import href="b.xslt"/>fails to importb.xslteven whenb.xsltis stored at/db/test-xslt-import/b.xslt.Changing to the full path:
<xsl:import href="xmldb:exist:///db/test-xslt-import/b.xslt"/>or<xsl:import href="exist:///db/test-xslt-import/b.xslt"/>works, but the relative path should also work.