Package: xml-resume-library
Version: 1.5.1-6
Followup-For: Bug #177817
In my opinion, there are the following problems:
1) The base URI of the CSS depends on whether it is embedded or not.
If it is embedded then the base URI is that of the stylesheet (because that
is where the document() function appears).
If it is not embedded then the base URI is that of the output (since the
URI is copied verbatim to the output).
As a result, if you change css.embed, you have to adjust css.href.
2) The CSS is supposed to be an XML document when embedded.
The XSLT 1.0 spec does not support inclusion of text files so it is hard to
fix.
3) The supplied CSS are invalid.
I guess the reason is to be both CSS and XML the same time, see 2).
However, it is possible to be both valid CSS and XML.
I do not know any good solution. A solution could be that instead of embedding
the stylesheet, the stylesheet includes an XInclude directive.
The drawback is that the result has to be postprocessed to really include the
stylesheet but the above problems disappear. The URI of the CSS file can be
always relative to the result file.
Best wishes,
Gabor Braun
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Versions of packages xml-resume-library depends on:
ii sgml-data 2.0.3 common SGML and XML data
Versions of packages xml-resume-library recommends:
pn passivetex | fop <none> (no description available)
ii xmlto 0.0.18-5 XML-to-any converter
ii xsltproc 1.1.19-1 XSLT command line processor
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]