Menu

#116 VS 2005 DOCTYPE xhtml 1.0 Breaks Version 2.0

open
nobody
None
5
2008-01-31
2008-01-31
RBlaqflame
No

I'm using version 2.0 of the NUnitAsp library downloaded from nunitasp.sourceforge.net. The problem is that my website uses the MS AjaxControlToolkit. This requires the you have a DOCTYPE of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.
Visual Studio 2005 even enters this as the default. Is there any way to get this as an accepted doctype? Currently it gets the page, as I can write the page contents out to the console with Browser.CurrentPageText, but as soon as I got to read a control I get this error.

MDMTestOld.MDMTestOld.doNothing : NUnit.Extensions.Asp.DoctypeDtdException : Problems with DOCTYPE DTD: <The remote server returned an error: (407) Proxy Authentication Required.>. Your DOCTYPE is probably incorrect. If you're not sure what the DOCTYPE should be, use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >, Visual Studio .NET's default.

Is there a workaround I can use?

Discussion


Log in to post a comment.