views:

14

answers:

0

Hi, I'm developing an web app in asp.net/jQuery/json Using:

WebService:

[WebService(Namespace = "http://test/services.internal")]
[ToolboxItem(false)]
[ScriptService]
public class AsdfWebService: WebService
{

    [WebMethod]
    [ScriptMethod]
    public string GetAsdf(string bla)
    {

in aspx:

<asp:ScriptManager ID="ScriptManager1" runat="server">
    <Services>    
        <asp:ServiceReference path="~/Services.Internal/test.asmx"
            InlineScript="true"  />
    </Services>
</asp:ScriptManager>

The script generator creates html that does not validate. (Firefox html validator). It's the script comments on the webservice's method parameters that fails validation, like:

/// <param name="id" type="Number">System.Int32</param>
/// <param name="b" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="c" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="d" optional="true" mayBeNull="true"></param>

How do I prevent the generation of these comments, or make them validate? Are these comments used in runtime?

-Jon