Menu

#1789 (in 2.7.1) Not XHTML compliant

2.6.4-pl1
fixed
1
2013-06-11
2005-09-21
No

For being XHTML compliant, I find it curious that
multiple templates do not validate as valid XHTML.
Even HTML Tidy picks up on this problem.

For example:

In the frameset page:

- Frameset proprietary attribute: border, frameborder,
framespacing, name
- Frame id and name value mismatch

in the main.php page:

noscript isn't allowed in head elements
link isn't allowed in noscript elements
link isn't allowed in body elements
meta isn't allowed in body elements
discarding unexpected body
div proprietary attribute name
trimming empty noscript
trimming empty option

in db_details_structure.php:

noscript isn't allowed in head elements
link isn't allowed in noscript elements
link isn't allowed in body elements
meta isn't allowed in body elements
/head isn't allowed in body elements
discarding unexpected body
unescape & which should be written as &
div proprietary attribute "name"
trimming empty noscript

If you're developing with the Firefox/Mozilla browser,
might I suggest installing this extension?
http://users.skynet.be/mgueury/mozilla/download.html

Discussion

  • Marc Delisle

    Marc Delisle - 2005-09-21

    Logged In: YES
    user_id=210714

    Where did you see that we pretend to be XHTML compliant?
    This is more a mid-term or long-term goal.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    btw. is there any global variable that says if any
    JavaScript is disabled?

    QueryFrameJS says only about using JavaScript in the query
    popup window

     
  • Michal Čihař

    Michal Čihař - 2005-09-22

    Logged In: YES
    user_id=192186

    Marc, it's written in our doctype:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     
  • Marc Delisle

    Marc Delisle - 2005-09-22

    Logged In: YES
    user_id=210714

    Michal you're right!

    Sebastian: I don't think so.

     
  • Sebastian Mendel

    • assigned_to: nobody --> cybot_tm
    • status: open --> open-accepted
     
  • Sebastian Mendel

    • priority: 5 --> 1
    • summary: Not XHTML compliant --> (in 2.7.1) Not XHTML compliant
    • status: open-accepted --> open-fixed
     
  • Matthew Schultz

    Matthew Schultz - 2005-12-08

    Logged In: YES
    user_id=862868

    nijel is right. If it's not xhtml transitional, then what's
    the point in declaring the doctype other than putting the
    browser in standards compliance mode in which case you'd
    want to make it comply because if you don't write the code
    properly, then the browser will not display it properly.

     
  • Michal Čihař

    Michal Čihař - 2005-12-08

    Logged In: YES
    user_id=192186

    Most work has already been done by Sebastian, now only some
    possible minor glitches remain.

     
  • Marc Delisle

    Marc Delisle - 2006-03-06
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed