Yes, that looks like a bug in the conversion of the
stylesheets from the non-namespaced version to the namespaced version. Can
you please file a bug report on the DocBook SourceForge site so this gets
fixed? Thanks.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
From:
Pedro Pastor
To:
Sent: Friday, October 22, 2010 12:36
PM
Subject: [docbook-apps] 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