HELP US check XHTML validity

mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-01-15 18:44

Gallery 2.1 is approaching (first RC in a couple weeks).. we're plenty busy with new features and bug fixes and could use some help checking over all the pages for XHTML validation.
If you've got some time to help us out please update to current CVS or nightly snapshot, configure 'allowSessionAccess' in your config.php and navigate your gallery clicking the XHTML icon on each page. Report any validation errors you find in this topic. Also report areas that check out ok.

Known validation errors we won't fix:
use of autocomplete="off" attribute

checks of all the various themes, modules and admin pages would be most helpful.. thanks for any testing you can contribute!

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2006-01-24 19:25

is simply attaching the report OK?

If yes, here's 2.1- with PGtheme (patched RC7) > "This page is not Valid XHTML 1.0 Transitional!"
(I assume these are issues related clearly to PGtheme ;))

The Matrix (latest CVS, 1.0.2) reports as to be "This Page Is Valid XHTML 1.0 Strict!"

Best regards,
Lutz

Gallery version = 2.1.0- core 1.0.19
PHP version=5.1.2 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database=mysql 5.0.18-nt-log
Gallery-URL=http://lf-photodesign.de

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-01-24 23:23

any response is ok, thanks! ;)

yes, those issues are certainly from PGtheme.

for matrix, I guess you checked one standard album page?
the reason I posted this request for help: clicking the little xhtml icon checks the current page, so to fully test xhtml compliance it must be clicked on every page with many combinations of modules, themes, blocks, etc.....

 
alexisb
alexisb's picture

Joined: 2005-11-24
Posts: 56
Posted: Thu, 2006-01-26 01:58

Hello, Matrix theme with latest 2.1 snapshot here.

At Edit Album > Album

# Error  Line 367, column 0: character data is not allowed here .
Checking this option will rebuild pictures according to appropriate limits
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).

# Error Line 372, column 0: character data is not allowed here .
Checking this option will set same picture size limits in all subalbums

Edit Album > Theme

# Error  Line 859, column 0: character data is not allowed here .

Note: to set the same theme for all subalbums, check the appropriate box in <b>A

You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).

# Error Line 859, column 78: document type does not allow element "b" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag .

...albums, check the appropriate box in <b>Album</b> tab

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

# Error Line 859, column 89: character data is not allowed here .
... the appropriate box in <b>Album</b> tab

I'll keep posting if I find more.

Regards!

Alexis Bellido - Ventanazul web solutions

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-01-26 19:41

alexisb: fixed those, thanks!

 
pcigre

Joined: 2006-01-26
Posts: 19
Posted: Wed, 2006-02-01 13:15

IS there any date when 2.1 will be out?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-02-01 15:33
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-03-05 18:38

removed sticky for this topic, but please still do report any validation errors you find.