OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Annotating program listings - Callouts - Chapter 27. Program listings - minor / nit typo ?


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
bobs@sagehill.net
 
 
----- Original Message -----
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.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]