OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]