Bug 461452 - Entity declaration warning error
Summary: Entity declaration warning error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Michael Hideo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-08 03:51 UTC by Isaac Rooskov
Modified: 2015-07-13 04:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-08 04:18:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Isaac Rooskov 2008-09-08 03:51:00 UTC
Description of problem:
when compiling a book, publican gives a warning for every entity declared within an xml document. However if giving an example of declaring an entity within an xml document and still coding it as follows:

&entity;

publican still gives the warning, even if it is within screen, code or programlisting tags. 

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.svn co https://svn.jboss.org/repos/jbossas/projects/docs/enterprise/4.3/Hibernate/Object_Relational_Mapping
2. the book with build using make html-single-en-US, however the above entity warning will be given.
3.
  
Actual results:
Local entity declaration warning given when no entity declared

Expected results:
The warning should not be displayed if an entity is escaped correctly using xml special characters whether it is or is not within a screen, programlisting or code tag.

Additional info:

Comment 1 Jeff Fearn 🐞 2008-09-08 03:59:31 UTC
Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Comment 3 Jeff Fearn 🐞 2008-09-08 04:18:40 UTC
You need to escape the semi-colon.

This: &types;

Needs to be: &types;


You can avoid this kind of effort by using xi:include as discussed at http://jfearn.fedorapeople.org/Publican/chap-Publican-Frequently_Asked_Questions.html#d0e1867


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