Next in thread → Next in month →

RE: [docbook-apps] External entities to graphics lost during profiling

From
Mauritz Jeanson <>
Date
2008-02-06T17:31:46+00:00
ID
001001c868e6$11428cc0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] External entities to graphics lost during profiling
> -----Original Message-----
> From: Bob Stayton 
> It  seems the profiling stylesheets do resolve @entityref 
> entity references during that stage of processing, since the 
> entity declarations can't be copied by the XSLT profiling 
> process (XSLT does not have access to the internal subset 
> declarations).  This step is taken in
> profiling/profile-mode.xsl:
> 
>       <!-- Entity references must be replaced with 
> filereferences for temporary tree -->
>       <xsl:if test="@entityref and $profile.baseuri.fixup">
>         <xsl:attribute name="fileref">
>           <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
>         </xsl:attribute>
>       </xsl:if>
> 
> The $profile.baseuri.fixup parameter is set to true() by 
> default, so this should be working for you. 


Yes, this should work for single-pass profiling. But GUI Access used
profiling/profile.xsl, and in that case profile.baseuri.fixup=false(). So
this has to be changed to true() in a customization layer or on the command
line. 

In any case, the suggestion that I sent earlier today can be ignored.

/MJ
Next in thread → Next in month →