Bug 432470 - can not use & characters in sample configurations
Summary: can not use & characters in sample configurations
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Murray McAllister
QA Contact: Michael Hideo
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2008-02-15 02:04:53 UTC
Embargoed:


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:

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

Cheers, Jeff.


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