Re: Patch for XML pretty printer

Colin Adams <[email protected]> Fri, 4 Sep 2009 07:08:36 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
2009/9/3 Jann Röder <[email protected]>:

>
> PS: Can anyone comment on the XML declaration issue?
>


I discussed it with Franck yesterday.
The issue is with the encoding. I was claiming that as he is writing
STRINGs, then the XML declaration is required, because the encoding
will be iso8859-1, but he said the actual serialization depends upon
what XM_OUTPUT does down the line. Therefore the problem is difficult.

The best way is not to use this pretty printer for serializing XML -
really it's only a debug tool. The XSLT serializer should be used for
serializing output (note this does not mean you have to run XSLT).
-- 
Colin Adams
Preston,
Lancashire,
ENGLAND

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july