| Summary: | Entities remain unresolved | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Henning Kockerbeck <henning> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED NOTABUG | QA Contact: | Ruediger Landmann <rlandman+disabled> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.5 | CC: | astokes, mmcallis, publican-list, rlandman |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-22 03:16:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Henning Kockerbeck
2011-06-01 13:01:07 UTC
Hi Henning, it sounds like a perl module issue, can you paste the output of this command: perl -MHTML::Tree -MXML::TreeBuilder -e 'print "HTML::Tree: $HTML::Tree::VERSION\nXML::TreeBuilder: $XML::TreeBuilder::VERSION\n"' Hi Jeff, thanks for your answer. According to the command you supplied, both perl modules are there in the following versions HTML::Tree: 4.1 XML::TreeBuilder: 3.09 (In reply to comment #2) > Hi Jeff, > > thanks for your answer. According to the command you supplied, both perl > modules are there in the following versions The problem is probably HTML::Tree 4, which contains significant changes. Upgrading XML::TreeBuilder to >= 4 may solve the problem, as may down grading HTML::Tree < 4. > HTML::Tree: 4.1 > XML::TreeBuilder: 3.09 Hi Jeff,
thanks for your advice. Installing the deb package libxml-treebuilder-perl_4.0-1_all.deb from the coming Ubuntu 11.10 solved the problem, "real" entities are resolved fine. I say "real" entities because the entities in the automatically added legal notices ("Copyright © &YEAR; &HOLDER; This material may only...") still remain unresolved. But that seems to be a different problem; as far as I can see these are written in the templates as &YEAR; and &HOLDER;, for whatever reason. So technically, these entities are resolved as well, just not as one would expect.
Am I supposed to close this bug report or is this something you as a project member do?
Im running Fedora 15 using Fedora's branding and seeing the same issue with the default Preface Specs: perl-XML-TreeBuilder-4.0-4.fc15.noarch perl-HTML-Tree-4.1-2.fc15.noarch publican-2.5-2.fc15.noarch My Entites file: <!ENTITY PRODUCT "Documentation"> <!ENTITY BOOKID "Matahari"> <!ENTITY YEAR "2011"> <!ENTITY HOLDER "Matahari Project"> Preface output: Legal Notice Copyright © &YEAR; &HOLDER;. Any suggestions? (In reply to comment #5) > Im running Fedora 15 using Fedora's branding and seeing the same issue with the > default Preface ... > Preface output: > Legal Notice > Copyright © &YEAR; &HOLDER;. Hi Adam -- that's actually unrelated and seems to have been caused by a hiccup in Koji at some point; there's a separate bug open for it: bug 714810 |