Closed Bug 499241 Opened 16 years ago Closed 16 years ago

xsl import broken in chrome

Categories

(Firefox :: Extension Compatibility, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 422502

People

(Reporter: bridget.almas, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 importStylesheet fails to import xslt from the chrome when the xslt file does an xsl:import of another stylesheet from the chrome. This works in FF 3.0.x but is broken in 3.5beta4 Reproducible: Always Steps to Reproduce: var proc = new XSLTProcessor(); var xsltDoc = document.implementation.createDocument("", "", null); xsltDoc.async = false; xsltDoc.load("chrome://myextension/skin/test.xsl"); proc.importStylesheet(xsltDoc); Stylesheet includes: <xsl:import href="myincludedfile.xsl"/> If I comment out the xsl:import the call to importStylesheet succeeds. Actual Results: Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXSLTProcessor.importStylesheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" This seems similar to bug 422502 which was reported during the 3.0 beta.
I'll dupe this bug to bug 422502; I assume you'll get an answer there.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.