XHTML and SELECT causes setParameter and getParameterValue to fail

"Steyer Manfred" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Hi,

I detected a strange problem.

If I use HttpUnit to test a XHTML-Website using the xmlns-Attribute
whithin the html-Tag, access to Select-Tags (Dropdown-Fields) via
form.setParameter(...) or form.getParameterValue(...) fails. If I leave
this attribute, it works. 

Does anyone have an explanation for this issue? Is there a way to solve
this problem?


Example:

The following Code-Snipped doesn't work due to the usage of the
xmlns-attribute:

	<?xml version="1.0" encoding="UTF-8" ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT"
xml:lang="de-AT">
	...
	</html>


... and this one works:


	<?xml version="1.0" encoding="UTF-8" ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html>
	...
	</html>


Best Regards,
Manfred

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.