← Prev in month ← Prev in thread

Possible bug in DocBook-XSL 1.76.0

From
Pedro Pastor <>
Date
2010-10-22T19:36:34+00:00
ID
Thread
Possible bug in DocBook-XSL 1.76.0
Hello,

 

Trying the "roundtrip" set 
of stylesheets I get a "syntax error" in the "docbook.xsl" file (it was executed 
from inside Oxygen 12.0 environment) and the message I get 
is:

 

SystemID: C:\Archivos de 
programa\Oxygen_Editor_12_0\frameworks\docbook\xsl\roundtrip\docbook.xsl
Engine 
name: Saxon6.5.5
Severity: fatal
Description: A decimal representation 
must immediately follow the "&#" in a character reference.
Start 
location: 863:42

 

The problem is inside a 
<xsl:choose> statment:

<xsl:choose>
<xsl:when test='not($text)'/>
<xsl:when test='contains($text, "&#d:xa;")'> (line 863)
<w:r>
<xsl:if test='$style != ""'>
<w:rPr>
<w:rStyle w:val='{$style}'/>
</w:rPr>
</xsl:if>
<w:t>
<xsl:value-of select='substring-before($text, "&#d:xa;")'/>
</w:t>
</w:r><xsl:call-template name='handle-linebreaks-aux'>
<xsl:with-param name='text'
select='substring-after($text, "&#d:xa;")'/>
<xsl:with-param name='style' select='$style'/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>

...

The "faulty" string 
repeats 2 more times in the code.

I expect this information helps to mend the 
problem.

Regards.

Pedro
← Prev in month ← Prev in thread