Hi,
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:
The $profile.baseuri.fixup parameter is set to true() by default, so this
should be working for you. You might try doing the two-step profiling to
examine the intermediate results to see what kind of fileref values you are
getting.
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
- Original Message -
From: "GUI Access" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 05, 2008 11:28 PM
Subject: [docbook-apps] External entities to graphics lost during profiling
I am using Saxon 6-5-5, DocBook XSL 1.73.2, and DocBook XML 4.5.
External entities to graphics disappear when I profile a document.
I declared an entity in a test document as follows:
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
]>
I then inserted a mediaobject that referenced the entity:
The file test.gif is in the same directory as this document.
If I profile this document with profiling/profile.xsl and since the
mediaobject element is not to be profiled out, it is copied verbatim to
the profiled document. However, the external entity to test.gif is lost,
thus not making it possible to be passed onto HTML.
I am using XML catalogs to resolve the DTD location.
How can I fix this?
Thanks.
GUI Access
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]