W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

Re: amaya 8.7.1 and entities

From: Dr Geoffrey Kantaris <egk10@cam.ac.uk>
Date: Wed, 12 Jan 2005 14:58:19 -0000
Message-ID: <013801c4f8b7$275015c0$19e16f83@egk10pc>
To: <www-amaya@w3.org>

I'm not sure I agree this is a bug. If you type in the WYSYWIG area " 
&delta; " then you should see precisely that sequence of characters. For 
example, I might be writing a page about how to use character entities, and 
it would be extremely annoying if every time I typed "to get an e acute type 
&eacute;" Amaya turned the entity into  . If you want the Greek character 
Delta, the proper place to type the entity reference is in the source code. 
Otherwise there should be something like a Character Map with all the 
entities listed to choose from.
    Geoffrey Kantaris

----- Original Message ----- 
From: "John Russell" <ve3ll@rac.ca>
To: <www-amaya@w3.org>
Sent: Wednesday, January 12, 2005 3:16 PM
Subject: amaya 8.7.1 and entities

I started with a new xhtml 1.1 doc and created a paragraph
i then proceded to insert text into the paragraph. The string was
What is &Delta;
It was translated as What is &amp;&Delta;

this was the same problem that occurred in value attribute!
It seems that the editor is too quick to make the assumption
that & will get translated as &amp; ....  there needs to be
some smarts applied prior to the translation ... for example
if it is a correctly formed entity (ie terminates in ; and no spacing)
then it is --  don't check whether it is a defined one --- that is
  too much checking ....    but &freddy;   should not get translated
 and &freddy   should get translated....
a little more smarts in parsing is needed to fix this annoying bug

john russell ve3ll@rac.ca [those are L's as in LLAMA]
Received on Wednesday, 12 January 2005 14:58:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:31 UTC