W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

[VE][xmlwf] xml parses some php code it shouldn't

From: Kevin D'Auria <kdauria@email.unc.edu>
Date: Mon, 30 Jul 2007 14:53:28 -0400
To: <www-validator@w3.org>
Message-ID: <001801c7d2da$eb038b50$78731398@kdauria>
My xhtml 1.1 page I made passes validation by direct input on the validator
page.  However, when I try to validate it by URL it fails.  The problem is
that it parses some php inside an else/if statement.  It parses both the
code inside the "if" and the code inside the "else".  Since, on my page, PHP
will give an error if the else statement is run with an element in the POST
array, my server outputs the following: 


<b>Fatal error</b>: Call to a member function updateParams() on a non-object
in <b>D:\Web\WebServer\Apache2\htdocs\site3\process_search2.php</b> on line
<b>35</b><br />.



Of course, this is not valid xhtml.  But I was hoping the xml parser
wouldn't parse this.  Is there a way to fix this ?



If you could help, that would be very very appreciated. 

Validating http://golbasche.dnsdojo.com/site3/process_search2.php 
Error [xmlwf]: "" 
Received on Monday, 30 July 2007 19:56:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:52 UTC