Bug 720656 - Entities ignored in filename
Summary: Entities ignored in filename
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-12 12:06 UTC by John J. McDonough
Modified: 2011-09-05 04:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-05 04:30:49 UTC


Attachments (Terms of Use)

Description John J. McDonough 2011-07-12 12:06:08 UTC
Description of problem:
The productname and productnumber are used to form the filename for pdf and epub documents.  However, if an entity from document_name.ent is used in these places (which would normally be the case), they are omitted from the filename, causing the filename to begin with a double hyphen.

Version-Release number of selected component (if applicable):
2.5

How reproducible:
reproduceable

Steps to Reproduce:
1. In Book_Info.xml:
    <productname>&PRODUCT;</productname>
    <productnumber>&PRODVER;</productnumber>
2. publican build -l en-US -f pdf,epub
3. ls tmp/en-US
   ls tmp/en-US/pdf
  
Actual results:
--docname.pdf (or epub)

Expected results:
product-version-docname.pdf

Additional info:

Comment 1 Ruediger Landmann 2011-08-22 05:54:01 UTC
Redirecting upstream.

Comment 2 Jeff Fearn 🐞 2011-09-05 04:30:49 UTC
The data used for packaging does not use the XSL system and therefore can not use content that requires XSLT processing to calculate the content.

This is a known limitation and will not be changing in the foreseeable future.


Note You need to log in before you can comment on or make changes to this bug.