This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: ProgramListingCO bugs on "linespecific image"text files ?


On Mon, Feb 18, 2002 at 06:44:08PM +0100, Yann Dirson wrote:
> On Thu, Feb 14, 2002 at 02:48:02PM -0500, Peter Eisentraut wrote:
> > <programlisting><![RCDATA[&test;]]></programlisting>
> 
> Thanks much, it happens to be sufficient for my purpose.
> 
> However, that is not a generic solution.  It expands (or attempts to
> expand) anything that looks an entity reference.
> 
> It happens that in my case, the simplistic sh+C+Makefile code makes a
> use of "&" that does not conflict with the processor ("&&" and ">&2"
> hopefully survive processing), but I verified that including a valid
> entity reference in such a file causes its expansion.
> 
> And I suppose that C address operator ("&ptr", or even "a=&ptr;") will
> cause problems to many, not to mention inclusion of SGML/XML text with
> this mechanism.

I just want to make it clear to XML users that that the scope
of this solution is SGML only, as XML does not support
RCDATA.  XML only does PCDATA, where entities are not
expanded.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]