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

Re: Bug: param, applet elements reversed Re: automatic replacement: entities and applet stuff

From: Vincent Quint <vincent.quint@inria.fr>
Date: Tue, 23 Feb 2010 17:23:57 +0100
Message-ID: <4B84011D.70308@inria.fr>
To: Charles McCathieNevile <chaals@opera.com>
CC: pfb42 <pf.buonsante@gmail.com>, www-amaya@w3.org
Chaals, Francesco,

I guess the issue of the moving <param> elements is fixed. See my 
comments on bug 9111:


Thanks for spotting the issue.


On 21/02/10 20:45, Charles McCathieNevile wrote:
> On Wed, 17 Feb 2010 15:12:17 +0100, pfb42 <pf.buonsante@gmail.com> wrote:
>> No wait, there must be something wrong with the way you are visualizing
>> my message. I'm posting from the web and, I guess, you're reading the
>> mailing list through your email client.
>> There must be a glitch somewhere, because some bits of my post disappear
>> in the process.
> Yes...
> A simplified version:
> Amaya converts
> <applet...>
>   <param...>
>   Helpful content for non-java users
> </applet>
> into
> <param...>
> <applet...>
>   Helpful content for non-java users
> </applet>
> Which is actually a pretty serious bug.
> Amaya uses an internal model of the document, rather than just the 
> source code, and it effectively throws away the original source code 
> when it generates its model. Which is why it converts entities and 
> changes source code layout - it generates source code to save the 
> document it has in its memory.
> This also explains why the source code editing is like a separate 
> document - in reality, it *is* a separate document, and they are 
> synchronised when you do certain things like move from one window to 
> another.
> Fixing this bug involves looking in the files where Amaya decides how 
> to parse things - if you're interested to try and fix it, have a look 
> at the developer's info on teh Website (warning, that could do with 
> some clarification, if anyone has spare time to donate).
> cheers
> Chaals
>> What you refer to as "blank lines" is not blank at all: it is a long 
>> list
>> of parameters for the java applet. I have protected this markup as 
>> suggested
>> in the relevant instruction set, by using the "raw" tag
>> (http://old.nabble.com/help/Answer.jtp?id=41).
>> Actually, I do see the whole markup, and no blank lines, in the relevant
>> webpage
>> http://old.nabble.com/automatic-replacement%3A-entities-and-applet-stuff-td27294237.html#a27615417 
>> So what happens is, in a nutshell,  that amaya moves all of the applet
>> "parameter"
>> tags above (outside) the opening "applet" tag. I think that this 
>> matters,
>> and both  explorer and firefox fail to show the applet correcty.
>> If I open the html file using a text editor other than amaya and 
>> restore the original line order
>> (the parameter lines _after_ the opening applet tag), everything works
>> again.
Received on Tuesday, 23 February 2010 16:24:31 UTC

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