Hi Robert,
Thanks for taking the time to comment.  No, it isn't a typo.  The 
programlisting is not in a CDATA section, so any XML characters like & must be 
escaped as character entities.  That character is intended to be a literal 
ampersand in the program listing.

If you are asking me if the code itself makes sense with an ampersand, I can't 
answer that.  I just cut and pasted it from somewhere.  8^)

Bob Stayton
Sagehill Enterprises
[email protected]


  ----- Original Message ----- 
  From: Robert Lucente 
  To: [email protected] 
  Sent: Saturday, April 24, 2010 12:25 PM
  Subject: [docbook-apps] Annotating program listings - Callouts - Chapter 27. 
Program listings - minor / nit typo ?


  url: http://www.sagehill.net/docbookxsl/AnnotateListing.html#Callouts

  The program listing has

  virtual int  parse(MyFetch &fetcher) = 0;

  I think that "&amp" is a typo in the above line of code ? 

  This has probably already been found but just in case.

Reply via email to