- From: Irene Vatton <Irene.Vatton@inrialpes.fr>
- Date: Tue, 5 Sep 2006 09:07:12 +0200
- To: christopher@cechinatrans.demon.co.uk
- Cc: Irene.Vatton@inrialpes.fr, www-amaya@w3.org
On Monday 04 September 2006 12:40, Christopher Evans wrote:
> On Mon, 04 Sep 2006 11:03:48 +0100, Irene Vatton
>
> <Irene.Vatton@inrialpes.fr> wrote:
> > XML defines an 'xml:space' attribute that allows authors to control when
> > white
> > spaces are preserved (preverse) and when they are not (default).
> > See 2.10 White Space Handling in
> > http://www.w3.org/TR/2000/REC-xml-20001006
>
> ''xml:space' can also cause problems, at least when Amaya is used with
> Win XP Pro SP2. If the 'xml:space' is inserted into <body> via the Source
> View, and then there's a paragraph which has two or more lines in the
> Source View, the Main View displays line breaks in the same place as the
> Source View does.
>
> Christopher
That's normal, xml:space:"preserve" means that newlines are managed as break
and spaces are managed as no-break spaces.
It's used to generate a sort of <pre>.
--
Irène.
-----
Irène Vatton INRIA Rhône-Alpes
INRIA ZIRST
e-mail: Irene.Vatton@inria.fr 655 avenue de l'Europe
Tel.: +33 4 76 61 53 61 Montbonnot
Fax: +33 4 76 61 52 07 38334 Saint Ismier Cedex - France
Received on Tuesday, 5 September 2006 07:08:32 UTC