Bug 1045463
Summary: | processing instructions contained in PO files are incorrectly stripped | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Publican | Reporter: | Raphaël Hertzog <raphael> | ||||
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ruediger Landmann <rlandman> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.2 | CC: | aigao, rlandman | ||||
Target Milestone: | 4.1 | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.1.0 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-05 06:03:29 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-12-20 13:50:18 UTC
Created attachment 839576 [details]
Possible patch
This patch works for me. But maybe the better fix is to enhance Publican::new_tree() to always call $xml_doc->store_pis(1) given that I don't see any place where we really want to drop processing instructions.
Hey Rudi, do we want to allow translators to set processing instructions? Sure! Added store_pis call to Publican::new_tree(). To ssh://git.fedorahosted.org/git/publican.git 8cf3d60..62b41f3 devel -> devel A fix for this shipped in Publican 4.1.0. |