Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

xsl:include: base URI after permanent redirect

  • No replies
  • 0 have this problem
  • 6 views
more options

An XML document under a URI http://base/sub/document.xml uses an XSLT stylesheet under a URI http://base/sub/stylesheet.xslt. The server redirects permanently to http://base/stylesheet.xslt (response code 301). The stylesheet file contains <xsl:include href = "common.xslt"/>. Firefox fails to GET http://base/sub/common.xslt ?? Instead, Firefox should GET http://base/common.xslt (?). So, the base URI of a document under a permanently redirected URI is not the redirected, but the original URI ?

An XML document under a URI http://base/sub/document.xml uses an XSLT stylesheet under a URI http://base/sub/stylesheet.xslt. The server redirects permanently to http://base/stylesheet.xslt (response code 301). The stylesheet file contains <xsl:include href = "common.xslt"/>. Firefox fails to GET http://base/sub/common.xslt ?? Instead, Firefox should GET http://base/common.xslt (?). So, the base URI of a document under a permanently redirected URI is not the redirected, but the original URI ?
Attached screenshots

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.