Bug 994686
Summary: | publican incorrectly drops entities in some attributes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Publican | Reporter: | RaphaΓ«l Hertzog <raphael> | ||||
Component: | publican | Assignee: | Jeff Fearn π <jfearn> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.1 | CC: | aigao, rlandman | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.0.0 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-12-19 02:46:43 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
RaphaΓ«l Hertzog
2013-08-07 19:02:39 UTC
I expect this is a bug in XML::TreeBuilder, will track it down. HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED. Might be a limitation of XML::Parser::Expat http://www.perlmonks.org/?node_id=384128 Moar digging This is a bug in XML::TreeBuilder, opened a bug upstream. Updated dep versions to require fixed upstream package XML::TreeBuilder, which will be released along with next publican. Still doesn't seem to be working in publican-3.9.9-0.fc19.t4.noarch I constructed the test case from comment #0 but when I built it: <para>see <ulink url="&url-bts;566351">#566351</ulink> </para> got transformed to: <div class="para"> see <a href="566351">#566351</a> </div> The entity did not get resolved The publican users guide has this in the Introduction.xml file, does that work for you? Make sure that if you are doing this you include the full DOCTYPE including the reference to the entity file. Works as expected with an entity used in the id of an element (like in the PUG), but doesn't work in the URL case reported in this bug. More correctly, works in root node, but not in child nodes. Opened upstream bug https://rt.cpan.org/Ticket/Display.html?id=89402, committed patch to upstream devel branch. Bumped dep for XML::TreeBuilder to 5.1. To ssh://git.fedorahosted.org/git/publican.git 9f1135a..8d543ad devel -> devel Attached test case verified with publican-3.9.9-0.fc19.t23.noarch |