Forums » Saxon-CE help »
Firefox: InvalidStateError
Added by Florentina Armaselu about 9 years ago
Hello,
I have a Saxon-CE problem in displaying xml on the fly via Firefox (40.0.2) and Internet Explorer (11) under Windows 7 Professional (64 bits). While the xml file is correctly displayed in Google Chrome (44.0.2403.157 m), Opera (31.0) and Safari (5.1.7), the page remains blank in Internet Explorer and Firefox. The latter displays the following console error message:
InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable Saxonce.nocache.js:17:0
A test sample is included below:
sample.xml:
<title>Saxon-CE test sample</title>
unknown
born digital
I am a title
I am a paragraph.
sample.xsl:
boot_saxonce.xsl:
<script type="text/javascript" language="javascript" src="../Saxon-CE_1.1/Saxonce/Saxonce.nocache.js"/>
<script> var onSaxonLoad = function() { Saxon.run( { stylesheet: "sample.xsl", source: "sample.xml" }); }</script>
</head>
<body id="body">
<p></p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
For testing, both a localhost server (XAMPP) and a Liferay environment were used.
Thank you in advance for your help.
Best regards, Florentina Armaselu
Please register to reply