Bug 546488 - Publican breaks on string with ampersand and semi-colon (&string;)
Summary: Publican breaks on string with ampersand and semi-colon (&string;)
Keywords:
Status: CLOSED DUPLICATE of bug 545334
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-11 01:05 UTC by Deon Ballard
Modified: 2010-11-24 04:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-11 01:33:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Deon Ballard 2009-12-11 01:05:27 UTC
I have a string in a code example which should be, literally:

&attribute_change;

I have tried replacing the ampersand with & and with & and the semi-colon with &#059;. However, when publican runs, it substitutes the characters and then errors out, claiming it can't find entity &attribute_change;.

The file is http://svn.devel.redhat.com/cgi-bin/viewvc.cgi/ecs/Red_Hat_Directory_Server/9.0/plugin/en-US/Data_Type_and_Structure_Reference.xml?view=log line 363, if that's necessary.

The exact error message is:
Beginning work on en-US
Data_Type_and_Structure_Reference.xml:389: parser error : Entity 'attribute_change' not defined
list_of_attrs[0] = &attribute_change;
                                   ^
The version of publican is, I believe, 1.0.

I think the solution needs to be something that allows me to use the proper string in the code example. Maybe a way to escape those characters?

Comment 1 Jeff Fearn 🐞 2009-12-11 01:33:49 UTC

*** This bug has been marked as a duplicate of bug 545334 ***


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