2017-06-13 83 views
0

從14.04移動到16.04後,項目不再有效。 <fr:xforms-inspector />與* .xsl文件中的<script></script>衝突。見下面的代碼。xforms-inspector與<script>衝突</script> in * .xsl

(Ubuntu的16.04/tomcat8/Orbeon表格2016.3.201612302139/Firefox)的

問題

  • 爲什麼<fr:xforms-inspector />突然這個標籤發生衝突?
  • 爲什麼不在14.04。這是一個需要報告的錯誤,或者這是我的錯誤,這不再有效?
  • 有沒有辦法解決它?
  • 與它有關:https://doc.orbeon.com/xforms/actions/scripting.html這種方式是否被棄用?

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> 

低於orbeon從文件創建的網頁。檢查員沒有代碼視圖,那些也屬於它。其他的行爲也是隨機的。

Resulting error. the \n ... belonging to the error too.

+0

如果這是對Ubuntu做的,我會感到驚訝。但是,我們如何重現「你能創造一個再現問題的最小例子,我們可以在這裏運行嗎? – avernet

+0

正如我所知,這兩個代碼片段就足夠了,當你把它放入文件並在orbeon環境中運行來重現錯誤時。沒有必要添加更多的代碼。如果我忘記了一些東西,請告訴我們,你會盡快收到丟失的文件。 –

+0

@avernet是否有可能重現該行爲?你需要更多的信息嗎?請告訴我。 –

回答