File: fix_test_xsltproc

package info (click to toggle)
libgo-perl 0.15-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,112 kB
  • sloc: perl: 13,147; sh: 21; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (5)
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>