You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Steve Fisher <S....@rl.ac.uk> on 2000/01/27 12:26:59 UTC

Having switched from XT to Xalan I get a warning message:

Transforming...
file:/afs/rl.ac.uk/user/f/fisher/java/xml/docbook/html/l10n.xml; Line -1;
Column -1
XSL Warning: Can not load requested doc:
file:/afs/rl.ac.uk/user/f/fisher/java/xml/docbook/html/l10n.xml
No "en" localization of "Editedbyeditor" exists; using "en".
No "en" localization of "abstractabstract" exists; using "en".
No "en" localization of "TableofContentsbook" exists; using "en".
No "en" localization of "TableofContentschapter" exists; using "en".

It seems that it is looking for I10n.xml in the directory which I
specified by the -xsl parameter.

The docbook.xsl file has:

<xsl:include href="../common/l10n.xsl"/>

and when I go to ../common/l10n.xsl

I see <xsl:variable name="l10n.xml" select="document('l10n.xml')"/>

and then $l10n.xml is used elsewhere. As I read the standard, this should
refer to l10n.xml in the ../common directory (which is where the file
really is) rather than in the directory holding the starting .xsl file.

Regards

Steve Fisher