forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: luchtzak on September 14, 2007, 08:47:37 pm

Title: My coppermine not XHTML 1.0 transitional
Post by: luchtzak on September 14, 2007, 08:47:37 pm
Line 3, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml.
<html dir="ltr">✉
Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

got 1 error when checking http://validator.w3.org/check?uri=http%3A%2F%2Fcoppermine.luchtzak.be%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

what should I do ?
Title: Re: My coppermine not XHTML 1.0 transitional
Post by: luchtzak on September 14, 2007, 08:48:09 pm
BTW just updated to the latest version!
Title: Re: My coppermine not XHTML 1.0 transitional
Post by: Nibbler on September 14, 2007, 09:08:51 pm
So did the w3c ;)
Title: Re: My coppermine not XHTML 1.0 transitional
Post by: Nibbler on December 03, 2007, 12:06:31 am
All themes now have their html tag set as follows:

Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
Title: Re: My coppermine not XHTML 1.0 transitional
Post by: luchtzak on December 28, 2007, 12:59:15 pm
Thanks for this update! Now it works