×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Any chance for valid XHTML 1.1?

Any chance for valid XHTML 1.1? 15 years 6 months ago #3967

  • W. Szabo Peter
  • W. Szabo Peter's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hello,
Don't get me wrong, I think Compojoom is the best commenting module for Joomla.
My only concern is that it generates an invalid XHTML 1.1 code.
I'm planning to do a website that's valid XHTML 1.1 and CSS 2.1. (W3C recommandations)

The problems with the current code:
Attribute "name" exists, but can not be used for "a" element.
Like:
<a name="something" id="somthing"></a>
should be
<a id="somthing"></a>

I
Also document type does not allow element "a" or "input", even withtype="hidden" to be NOT nested, eg. missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" before it. Like this:
<div><a></a></div>

And there are a few minor ones.

Also, when can we see the Beta?

Thanks a lot, and keep up the good work.

Any chance for valid XHTML 1.1? 15 years 6 months ago #3968

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
about the a tag www.w3schools.com/TAGS/tag_a.asp
it is allowed in strict, transitional and frameset. How else are you going to make an anchor?

About the last one - ok. That is true, but you can edit the template and it will be fine.

Also in 3.26 there were some errors in the output, they are all fixed with 4.0 alpha.

You can see that our demo page generates valid XHTML 1.0 Transitional!
http://validator.w3.org/check?uri=http%3A%2F%2Fdemo.compojoom.com%2Fthe-news%2F44-joomla-security-strike-team.html%23JOSC_TOP&charset=(detect+automatically)&doctype=Inline&group=0

After the 18th of May I will stop working for few months and will be able to concentrate on the beta.

Any chance for valid XHTML 1.1? 15 years 6 months ago #3969

  • W. Szabo Peter
  • W. Szabo Peter's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Thanks a lot for the reply.
And I'm talking about XHTML 1.1, but it's very similar with XHTML Strict.

( Demo page validation, xhtml 1.1 )
  • Page:
  • 1
Time to create page: 0.120 seconds