Explorar el Código

error jest - todo

a.binder hace 9 años
padre
commit
8c1fb1dcf1
Se han modificado 1 ficheros con 11 adiciones y 7 borrados
  1. 11 7
      SE/dev/php-cli/cables_from_joins_to_PE.xsl

+ 11 - 7
SE/dev/php-cli/cables_from_joins_to_PE.xsl

@@ -169,13 +169,17 @@
                        </xsl:call-template>
                    </xsl:when>
                    
-                   <xsl:otherwise><xsl:message terminate="yes">#Error 111 - nie moze byc innego wyjatku
-                       Pos_found=<xsl:value-of select="$Pos_found"/>;
-                       $Next_PE_Pos=<xsl:value-of select="$Next_PE_Pos"/>;
-                       $Prev_PE_Pos=<xsl:value-of select="$Prev_PE_Pos"/>;
-                       abs($Pos_found - $Next_PE_Pos)=<xsl:value-of select="abs($Pos_found - $Next_PE_Pos)"/>
-                       abs($Pos_found - $Prev_PE_Pos)=<xsl:value-of select="abs($Pos_found - $Prev_PE_Pos)"/>
-                   </xsl:message></xsl:otherwise>
+                   <xsl:otherwise>
+                       <xsl:variable name="error">#Error 111 - nie moze byc innego wyjatku
+                           Pos_found=<xsl:value-of select="$Pos_found"/>;
+                           $Next_PE_Pos=<xsl:value-of select="$Next_PE_Pos"/>;
+                           $Prev_PE_Pos=<xsl:value-of select="$Prev_PE_Pos"/>;
+                           abs($Pos_found - $Next_PE_Pos)=<xsl:value-of select="abs($Pos_found - $Next_PE_Pos)"/>
+                           abs($Pos_found - $Prev_PE_Pos)=<xsl:value-of select="abs($Pos_found - $Prev_PE_Pos)"/></xsl:variable>
+                       <xsl:message terminate="no" select="$error">
+                       <error><xsl:copy-of select="$error"/></error>
+                   </xsl:message>
+                   </xsl:otherwise>
                </xsl:choose>
            </detect_next_PE>