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




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