This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The stylesheet templates for xqx:moduleImport and xqx:schemaImport both have the construct <xsl:if test="xqx:targetLocation"> <xsl:text> at </xsl:text> <xsl:call-template name="quote"> <xsl:with-param name="item" select="xqx:targetLocation"/> </xsl:call-template> </xsl:if> which has the effect that if there are multiple xqx:targetLocation (as allowed by the schema, and the XQuery EBNF) then all but the first are quietly dropped. I suggest replacing this in both cases by <xsl:apply-templates select="xqx:targetLocation"/> and adding <xsl:template match="xqx:targetLocation"> <xsl:choose> <xsl:when test="position()=1"> at </xsl:when> <xsl:otherwise>, </xsl:otherwise> </xsl:choose> <xsl:call-template name="quote"> <xsl:with-param name="item" select="."/> </xsl:call-template> </xsl:template> David
Thank you for your comment. You are obviously correct and I agree with your proposed solution, which I have implemented. Consequently, I am marking this bug FIXED. If, after testing, you agree that the bug is, indeed, fixed, please mark it CLOSED. (I will post the revised stylesheet shortly.)