Re: HTML 4.1 transitional validation fails, posted by Stefan Ritt on Mon Feb 7 20:13:28 2005
|
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> it should be used an HTML entity instead of the ampersand sign.<p>
Can you please be a bit more specific? In which URL should the ampersand be
replaced? |
Re: HTML 4.1 transitional validation fails, posted by Emiliano Gabrielli on Tue Feb 8 13:11:30 2005
|
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> it should be used an HTML entity instead of the ampersand sign.<p>
another problem with validation:
required attribute "ALT" not specified in every <img> tag used in the elog (icons)
here is an example of the validator results:
http://validator.w3.org/check?uri=http%3A%2F%2Fmidas.psi.ch%2Felogs%2FLinux+Demo%2F&charset=iso-8859-1+%28Western+Europe%29&verbose=1 |
Re: HTML 4.1 transitional validation fails, posted by Stefan Ritt on Sat Feb 12 17:40:55 2005
|
I added ths missing tags. The validator at least does not complain any more. |
Re: HTML 4.1 transitional validation fails, posted by Emiliano Gabrielli on Thu Feb 24 11:23:44 2005
|
> > as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
>
> > it should be used an HTML entity instead of the ampersand sign.<p>
>
> Can you please be a bit more specific? In which URL should the ampersand be
> replaced?
uhmm...
http://midas.psi.ch/elogs/Forum/page2?mode=threaded&expand=0&last=7
the bug is also a "documentation bug", infact similar tricks are also
in FAQs (FAQ 5 for example)
I tried to substitute avery occurrence of hard coded "&" with "&" but it does
not do the job at all ... infact the first time the HTML code is ok, but
following a link let the browser to automatically decode html entities .. and
everything turns wrong again ... maybe the encoding should be done in
printing-to-the-browser-time .. |
Re: HTML 4.1 transitional validation fails, posted by Emiliano Gabrielli on Thu Feb 24 12:44:29 2005
|
> > > as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> >
> > > it should be used an HTML entity instead of the ampersand sign.<p>
> >
> > Can you please be a bit more specific? In which URL should the ampersand be
> > replaced?
>
> uhmm...
>
> http://midas.psi.ch/elogs/Forum/page2?mode=threaded&expand=0&last=7
>
> the bug is also a "documentation bug", infact similar tricks are also
> in FAQs (FAQ 5 for example)
>
> I tried to substitute avery occurrence of hard coded "&" with "&" but it does
> not do the job at all ... infact the first time the HTML code is ok, but
> following a link let the browser to automatically decode html entities .. and
> everything turns wrong again ... maybe the encoding should be done in
> printing-to-the-browser-time ..
BTW, the current url (taht should be perfectly well formed makes the elog not to
display attachments ... so may be thare is a problema in the query string decoding
routine ...
http://somehost.it:8080/LBNAME/?mode=full&attach=1 |
Re: HTML 4.1 transitional validation fails, posted by Emiliano Gabrielli on Thu Feb 24 12:45:02 2005
|
> > > as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> >
> > > it should be used an HTML entity instead of the ampersand sign.<p>
> >
> > Can you please be a bit more specific? In which URL should the ampersand be
> > replaced?
>
> uhmm...
>
> http://midas.psi.ch/elogs/Forum/page2?mode=threaded&expand=0&last=7
>
> the bug is also a "documentation bug", infact similar tricks are also
> in FAQs (FAQ 5 for example)
>
> I tried to substitute avery occurrence of hard coded "&" with "&" but it does
> not do the job at all ... infact the first time the HTML code is ok, but
> following a link let the browser to automatically decode html entities .. and
> everything turns wrong again ... maybe the encoding should be done in
> printing-to-the-browser-time ..
BTW, the current url (taht should be perfectly well formed makes the elog not to
display attachments ... so may be thare is a problema in the query string decoding
routine ...
http://somehost.it:8080/LBNAME/?mode=full&attach=1 |
Re: HTML 4.1 transitional validation fails, posted by Stefan Ritt on Wed Mar 2 17:31:33 2005
|
> > I tried to substitute avery occurrence of hard coded "&" with "&" but it does
> > not do the job at all ... infact the first time the HTML code is ok, but
> > following a link let the browser to automatically decode html entities .. and
> > everything turns wrong again ... maybe the encoding should be done in
> > printing-to-the-browser-time ..
That won't help, since the 'Start page = ...' string is used for redirection (outside
of any HTML). The '&' thing should only occur inside the HMTL text.
I changed elogd.c to encode things properly, but I'm not sure if I covered all
occurences. Can you try release 1.576 if it works correctly? |
Re: HTML 4.1 transitional validation fails, posted by Emiliano Gabrielli on Thu Mar 24 13:21:28 2005
|
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> it should be used an HTML entity instead of the ampersand sign.
Stefan, the validation still fails on the ampersand ...
here is an example of your online Demo elog:
http://validator.w3.org/check?verbose=1&uri=http%3A//midas.psi.ch/elogs/Forum/920 |