Bug 432470 - can not use & characters in sample configurations
Summary: can not use & characters in sample configurations
Alias: None
Product: Publican
Classification: Community
Component: publican   
(Show other bugs)
Version: 2.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Murray McAllister
QA Contact: Michael Hideo
Keywords: Documentation
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-12 07:48 UTC by Murray McAllister
Modified: 2015-01-04 22:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-15 02:04:53 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Murray McAllister 2008-02-12 07:48:54 UTC
Description of problem:
I need to use a "&" character in a configuration file (not &). I can't get
this to parse correctly. I have tried:

* <screen><![CDATA[
* <programlisting>
* <literal>
* &amp;amp;

I would have thought the later worked. I got around this using "&amp;amp&semi;".
Not sure if this is correct...

Comment 1 Jeff Fearn 🐞 2008-02-15 02:04:53 UTC
We do not support CDATA.

If you want to display xml content in your output, you need to:

mkdir en-US/extras
vi en-US/extras/foo.txt
<put your xml in foo.txt>

xi:include the txt file in to you xml file, in this case inside the screen tag:

<xi:include parse="text" href="extras/foo.txt"
xmlns:xi="http://www.w3.org/2001/XInclude" />

Cheers, Jeff.

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