1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Subject: xsl is not compliant
Description: XSLT spec does not allow a name with "xmlns",
so apply a patch to use a different name
Author: Olivier Sallou <osallou@debian.org>
Last-Updated: 2014-02-01
Forwarded: yes
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=92636
--- a/GO/xsl/oboxml_to_owl.xsl
+++ b/GO/xsl/oboxml_to_owl.xsl
@@ -815,7 +815,7 @@
</xsl:variable>
<xsl:element name="{$property}">
<xsl:if test="contains(type,':')">
- <xsl:attribute name="xmlns">
+ <xsl:attribute name="goxmlns">
<xsl:variable name="ns">
<xsl:value-of select="substring-before(type,':')"/>
</xsl:variable>
@@ -860,7 +860,7 @@
</xsl:variable>
<xsl:element name="{$property}">
<xsl:if test="contains(type,':')">
- <xsl:attribute name="xmlns">
+ <xsl:attribute name="goxmlns">
<xsl:variable name="ns">
<xsl:value-of select="substring-before(type,':')"/>
</xsl:variable>
|