try this, normally it helps (taken from the docs):

session.use_trans_sid = 0 : for older p.mapper versions 1 was required. 
Use 0 in order to have p.mapper 2 fully compliant with W3C XHTML Strict

'session.use_trans_sid' acitivated puts a hidden input to forms where 
XHTML does not seem to want them.

If you use PHP as Apache module you can also change this setting in 
httpd.conf just for a special <Location> or <Directory> with

php_flag session.use_trans_sid off

armin

Walter Lorenzetti wrote:
> Hi all,
> 
> I'm working with pmapper 2.0 but I've a problem with w3c validation
> 
> in validation I obtain the seguent error:
> 
> Error Line 75, column 152: document type does not allow element "input" 
> here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", 
> "pre", "address", "fieldset", "ins", "del" start-tag .
> 
> ...="782295802ae95057ee354685ff247cf7" />
> 
> 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>").
> 
> because after form with id="searchForm" w3c validator find
> 
> <input type="hidden" name="PHPSESSID" 
> value="782295802ae95057ee354685ff247cf7" />
> 
> before first div inside form
> 
> I think this is a problem of apache-php sever configuration but I'm not sure
> 
> can someone help me?
> 
> By
> 
> Walter
> 

Reply via email to