After moving from 14.04 to 16.04 a project is no longer working. <fr:xforms-inspector />
conflicts with the <script></script>
in the *.xsl-file. See code below.
( Ubuntu 16.04 / tomcat8 / Orbeon Forms 2016.3.201612302139 / firefox )
Questions
<fr:xforms-inspector />
suddenly conflicting with this tag?blubb.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
>
<head>
<title>Blubb</title>
<xf:model>
<xf:instance id="instance_stylesheet" src="blubb.xsl" />
</xf:model>
</head>
<body>
<fr:xforms-inspector />
</body></html>
blubb.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no" omit-xml-declaration="yes" encoding="UTF-8"/>
<xsl:template>
<html>
<!-- inserting the script tag, results in the error.
It does not matter, whats in it. -->
<script>
</script>
<head></head>
<body></body>
</html>
</xsl:template>
</xsl:stylesheet>
Below the webpage created by orbeon from the files. The inspector has no code view and those \n
belong to it too. Every other behavior is also effected randomly.
This issue is fixed since Orbeon Forms 2017.1, so if you're hitting this problem and using an earlier version, I'd recommend you upgrade to 2017.1.