[WSG] PHP and XHTML 1.0 Strict

2004-08-25 Thread Steven Clark
Mmm, interesting.The validator can't see the php, I know, but pull the php 
off the page and it validates as strict, while put it on the page and it 
doesn't! Cut and paste the code off the page for yourself into a blank page 
and run it, you'll see it validates perfectly. Its the processing of the 
form that is triggering problem.

The post about PHP server settings looked interesting. I will look into that 
with my hosting provider tomorrow. Thanks.

I mentioned the name attribute never validated for form elements because it 
was triggering the validation. The validator tells me so. Anyway thanx, 
useful information all.

Steven Clark
http://www.nortypig.com
http://www.blog.nortypig.com
_
FREE* Month of Movies with FOXTEL Digital:   
http://adsfac.net/link.asp?cc=FXT002.7542.0

**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] PHP and XHTML 1.0 Strict

2004-08-25 Thread Mordechai Peller
Steven Clark wrote:
Mmm, interesting.The validator can't see the php, I know, but pull the 
php off the page and it validates as strict, while put it on the page 
and it doesn't! Cut and paste the code off the page for yourself into 
a blank page and run it, you'll see it validates perfectly. Its the 
processing of the form that is triggering problem.
The PHP portion of the document gets replaced with whatever you program 
the output to be. If that output is causing the page to be invalid, it's 
the programmer's fault, not PHP's.
**
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**