Debian Codegraph @

debian/patches/fix_test_xsltproc

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