[Flux Users] Dpc Types Won't Validate

36 views
Skip to first unread message

Robin Stark

unread,
Jul 24, 2012, 9:50:38 AM7/24/12
to flux...@googlegroups.com
I'm finally going to create a site with Flux. I have owned it since Version 1, but have only played with it. I just bought 4 and am committed to this project. 

First thing I do is create my site and allow Flux to create the index file and css file. Oddly, it doesn't ask me what doc type I want it to be. I didn't notice, until I went to validate and got the errors. I then tried to add the doc type, but Flux wouldn't let me. It kept reverting to just <HTML><HEAD>. I figured that's where the Free Code comes in and I switched and added the doc type. 

Unfortunately, the only doc type that validates is HTML 4.01 Transitional. I tried  XHTML 1.0 Transitional and Strict, XHTML 1.1, and HTML 5, and none would validate. This was with blank pages, nothing on there that I had done, just newly created pages with only the Flux-added doc type.

Errors like:

there is no attribute "xmlns"
<HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><HEAD>

there is no attribute "xml:lang"
<HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><HEAD>

I'm using Flux 4.1.2 that I just downloaded today. Is this happening for everyone?

Robin Stark

Robin Stark

unread,
Jul 25, 2012, 1:35:02 PM7/25/12
to flux...@googlegroups.com
Not to answer my own question, because I didn't really find the answer, but I ended up getting the code from www.w3schools.com and using that and making changes until I got them to work. I'll now just use my own code as a snippet and create new pages as blank. 

No matter what, though, I couldn't get the Flux doc type code to work without validation errors. Just sayin'.

Robin Stark
Reply all
Reply to author
Forward
0 new messages