[Mono-list] XSP2 generates invalid XHTML 1.1 code
Alexander Orlov
mail at biteagle.net
Wed Nov 16 10:15:24 EST 2005
The following ASP.NET 2 code...
#<ASP.NET 2 code>###################
<form runat="server">
...some asp:textboxes and asp:textbuttons
</form>
#</ASP.NET 2 code>##################
... generates invalid XHTML 1.1 code...
#<XHTML 1.1 code>###################
<form name="_ctl0:core:_ctl0" method="post" action="test.aspx"
id="_ctl0_core__ctl0">
<input type="hidden" name="__VIEWSTATE" value="" />
<fieldset>
[...]
</fieldset>
</form>
#</XHTML 1.1 code>###################
#<validator.w3.org reports>###################
1. Error Line 56 column 12: there is no attribute "name".
<form name="_ctl0:core:_ctl0" method="post" action="test.aspx"
id="_ctl0_c
=========> no attribute "name" in <form>s
2. Error Line 57, column 50: document type does not allow element
"input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4",
"h5", "h6", "p", "div", "address", "fieldset" start-tag .
<input type="hidden" name="__VIEWSTATE" value="" />
=========> the first <input ...> must be inside a <div> <fieldset> etc.
#</validator.w3.org reports>##################
I would like to fix this problem but nobody answered my question how I
can build xsp2 instead of xsp, because the following
»/usr/src/xsp-1.1.10$ ./configure; make; su -c "make install"« just
builds a »/usr/local/bin/xsp« and no »/usr/local/bin/xsp2«.
Alex.
More information about the Mono-list
mailing list