Whitespace not rendered by writeText()

Hi

I have a problem with writeText() method of ResponseWriterImpl class

I have observed that if I use

writeText(" Text", null);

the whitespace at the beginning of the string " Text" is ignored. That is, it is not rendered. But, instead, if I use write(" Text"), the string is rendered as expected.

I have following questions:

1. Is the behavior of writeText() as specified. Shouldn't it render the string including white spaces?

2. Is there any way i can render " Text" without using " "?

Thanks

Ganash

[570 byte] By [Ganesha@caa] at [2007-11-27 10:21:15]
# 1

Which implementation of JSF are you using?

RaymondDeCampoa at 2007-7-28 17:08:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I am using JSF reference implementation 1.1

Ganesha@caa at 2007-7-28 17:08:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Is there any reason you do not want to use the latest version of the RI? I would try that first.

RaymondDeCampoa at 2007-7-28 17:08:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

what should be expected behavior. Should the writeText() also render the white space?

Ganesha@caa at 2007-7-28 17:08:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...