Tracker: Bugs

5 epub: leading dot in directory name error - ID: 2849683
Last Update: Settings changed ( abdelazer )

Specifying paths with a leading dot causes problems, for example:

<xsl:param name="html.stylesheet" select="'./docbook-xsl.css'"/>

This generates validation errors like:

ERROR: article.epub/OEBPS/index.html(4):
'OEBPS/./docbook-xsl.css': referenced resource missing in the package

The file is in the archive at the correct location, just doesn't
seem to like './' in the path name -- the path needs to be normalized
before being written to the contents.opf.

It's not just the valdiator, the file is missing when the EPUB is viewed
(in bookworm).

This works fine:

<xsl:param name="html.stylesheet" select="'docbook-xsl.css'"/>

Environment: DocBook XSL 1.75.2; Ubuntu 8.04


Stuart Rackham ( sjrackham ) - 2009-09-03 03:52

5

Open

None

Keith Fahlgren

XSL

output: ePub

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
category_id ePub 2009-09-03 13:28 abdelazer