Thanks Bob,
 
I have already notify "Oxygen support" about this issue.
 
Regards.
Pedro

  _____  

De: Bob Stayton [mailto:[email protected]] 
Enviado el: viernes, 29 de octubre de 2010 19:39
Para: Bob Stayton; Pedro Pastor; [email protected]
Asunto: Re: [docbook-apps] Possible bug in DocBook-XSL 1.76.0


Actually, don't file a bug report with DocBook SourceForce, file it with
Oxygen.  Further investigation shows that the roundtrip/docbook.xsl file is
obsolete, and appears to be from version 1.73.2 of the stylesheets.  The
later versions of the roundtrip stylesheets don't use that "docbook.xsl"
filename and don't have that bug.  It looks like Oxygen 12 ships with
version 1.75.2 but accidentally included the obsolete files from an earlier
release.  If you use the roundtrip/dbk2wp.xsl stylesheet instead of
roundtrip/docbook.xsl, it should work.
 
Bob Stayton
Sagehill Enterprises
[email protected]
 
 

----- Original Message ----- 
From: Bob Stayton <mailto:[email protected]>  
To: Pedro Pastor <mailto:[email protected]>  ;
[email protected] 
Sent: Friday, October 29, 2010 10:20 AM
Subject: Re: [docbook-apps] Possible bug in DocBook-XSL 1.76.0

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
[email protected]
 
 

----- Original Message ----- 
From: Pedro Pastor <mailto:[email protected]>  
To: [email protected] 
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

Reply via email to