Bug 458421

Summary: ERROR: VERSION can only contain '0-9' and '.'! '4.4' is not valid
Product: [Community] Publican Reporter: Darrin Mison <dmison>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.6CC: mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-26 20:08:31 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Darrin Mison 2008-08-08 00:42:14 EDT
Version 0.33

Description of problem:
If I try to use an entity for <issuenum> it fails with the below error.  

Steps to Reproduce:
mybook.ent : <!ENTITY VERSION "4.4">
book_info.xml: <issuenum>&VERSION;</issuenum>
make test

Actual results:
ERROR: VERSION can only contain '0-9' and '.'! '4.4' is not valid, please edit <issuenum> in your Book_Info.xml file


Is it checking this value before the entity substitution occurs?
Comment 1 Jeff Fearn 2008-08-12 00:59:32 EDT
(In reply to comment #0)
> Is it checking this value before the entity substitution occurs?

This value is used in the Makefile and it gets read before any processing happens.