AW: AW: XMLSerializer replaces tabs with #9;

2004-12-06 Thread Stefan Pietschmann
So the question remains: when using tabs (and I do use them cause they're
used by default in XMLSpy and I cannot convert all my xml files to
whitespaces) - is it the intended behavior of the (new implementation of
the) XMLSerializer to replace all of them with the #9; entity?

Stefan

-Ursprüngliche Nachricht-
Von: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 6. Dezember 2004 18:10
An: [EMAIL PROTECTED]
Betreff: Re: AW: XMLSerializer replaces tabs with   

Torsten Curdt wrote:
 Stefan Pietschmann wrote:
 
 Hmm, i'm not really into this, so it is as simple as exchanging the
 XMLSerializer with the 2.1.5 version before building, or are there other
 dependencies?
 
 
 We have two different XML serializers. IIRC we changed
 the the default implementation recently. All you need
 to do is to use the old implementation. (change it in
 the cocoon.xconf) Although it has other issues.
 (Why the heck are you using tabs anyway?)

I had the same exact problem because stupid eclipse sometimes introduces 
tabs even when you don't want to. g

-- 
Stefano.



Re: AW: AW: XMLSerializer replaces tabs with #9;

2004-12-06 Thread Torsten Curdt
Stefan Pietschmann wrote:
So the question remains: when using tabs (and I do use them cause they're
used by default in XMLSpy and I cannot convert all my xml files to
whitespaces) - is it the intended behavior of the (new implementation of
the) XMLSerializer to replace all of them with the #9; entity?
Well, for one thing ...removing the tabs is probably a one-line command
but you can also change the encoding behaviour of the serializer.
Have a look at the EncodingSerializer in the serializers block.
HTH
cheers
--
Torsten