Closed
Bug 180323
Opened 22 years ago
Closed 22 years ago
DocBook DTD $VERSION (<xsl:include href="..)
Categories
(Core :: XSLT, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alec, Assigned: peterv)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
While I trying to open a XML file with "embedded" XSL, it seems doesn't include
some files in one directory above current XSL definition directory.
For example, I've created DocBook XML :
======
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<?xml-stylesheet type="text/xsl"
href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"?>
<article>
======
Otherwise, XSL has <xsl:include... > referring to ./.. directory :
=== docbook.xsl ===
<xsl:include href="../VERSION"/>
<xsl:include href="param.xsl"/>
<xsl:include href="../lib/lib.xsl"/>
<xsl:include href="../common/l10n.xsl"/>
<xsl:include href="../common/common.xsl"/>
<xsl:include href="../common/labels.xsl"/>
<xsl:include href="../common/titles.xsl"/>
<xsl:include href="../common/subtitles.xsl"/>
<xsl:include href="../common/gentext.xsl"/>
<xsl:include href="../common/targets.xsl"/>
==================
It seems, as result, TransforMiiX does not include these XSLs
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
VERSION is not served with a xml mime type from file://.
According to spec, stylesheets have to have a xml mime type.
Docbook XSLT doesn't work with Mozilla, and VERSION isn't the only reason. The
localisation via parsed entities is not supported by Mozilla as well.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•