Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Summary, badly formed XML comment ignored for member

I am documenting my class members in VS 2010 with Summary attribute. When I build project the XML file is build(I will use it later in developing). One of class member's summary is not included in XML file, instead error appears "Badly formed XML comment ignored for member".

The summary is text is below. I do not understand what is formatted incorrectly. Should I escape & character and use %26 instead?

    /// <summary>
    /// URI of a web page to convert. Must start with http:// or https://. Several URI of web pages can be passed to create one PDF. For example if http://www.google.com+http://www.nytimes.com URI will be passed the two web pages will be merged into one PDF.
    /// If URI has special characters like ? or & they must be encoded.
    /// </summary>
like image 356
Tomas Avatar asked Sep 08 '11 13:09

Tomas


1 Answers

Since it's XML you have to encode special characters. Your & sign (has bitten me before) needs to be replaced with &amp;.

like image 93
AlG Avatar answered Sep 28 '22 06:09

AlG