Click here to Skip to main content
15,922,015 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: assign syle to the row at runtime Pin
Abhijit Jana4-Jan-10 19:52
professionalAbhijit Jana4-Jan-10 19:52 
AnswerRe: assign syle to the row at runtime Pin
carlecomm5-Jan-10 21:36
carlecomm5-Jan-10 21:36 
Questionproblem while taking a project from vss Pin
sanjubaba4-Jan-10 19:00
sanjubaba4-Jan-10 19:00 
AnswerRe: problem while taking a project from vss Pin
Pranay Rana4-Jan-10 19:54
professionalPranay Rana4-Jan-10 19:54 
GeneralRe: problem while taking a project from vss Pin
sanjubaba4-Jan-10 20:16
sanjubaba4-Jan-10 20:16 
AnswerRe: problem while taking a project from vss Pin
ncsubbu9-Jan-10 1:36
professionalncsubbu9-Jan-10 1:36 
QuestionHow to Use Multiple site maps Pin
ptr_Electron4-Jan-10 18:57
ptr_Electron4-Jan-10 18:57 
QuestionHow to resolve quot xml parsing issue by using C# .net Pin
sharmin20094-Jan-10 18:27
sharmin20094-Jan-10 18:27 
How to resolve quot xml parsing issue by using C# .net. For example, I have this node:

<code>

&amp;lt;description&amp;gt;&amp;amp;#60;p&amp;gt;&amp;amp;#60;a href="http://us.rd.yahoo.com/dailynews/rss/tech/*http://news.yahoo.com/s/afp/20091230/ts_alt_afp/usitcomputersecurityinternetmcafee"&amp;gt;&amp;amp;#60;img src="http://d.yimg.com/a/p/afp/20091230/capt.photo_1262191861138-1-0.jpg?x=130&amp;amp;amp;y=84&amp;amp;amp;q=85&amp;amp;amp;sig=XB8VuNiiCtOC5TYh6H441w--" align="left" height="84" width="130" alt="The logo of social networking website &amp;amp;#39;Facebook&amp;amp;#39; is displayed on a computer screen. &amp;amp;quot;The explosion of applications on Facebook and other services will be an ideal vector for cybercriminals,&amp;amp;quot; McAfee said.(AFP/File/Leon Neal)" border="0" /&amp;gt;&amp;amp;#60;/a&amp;gt;AFP - Social networks will face increasingly sophisticated hacker attacks in 2010 but law enforcement is expected to make strides in fighting cybercrime, according to Web security firm McAfee Labs.&amp;amp;#60;/p&amp;gt;&amp;amp;#60;br clear="all"/&amp;gt;&amp;lt;/description&amp;gt;




</code>

and the string either
<code><u&gt;&amp;amp;#39;Facebook&amp;amp;#39; &lt;/u&gt;</code>
or the string
<code>
<u>quot;The explosion of applications on Facebook and other services will be an ideal vector for cybercriminals,&amp;quot; </u>
</code>

is causing the page to fail the validation by HTML validator. Some of the errors about the specific lines are:
<pre>
#

      * Line 378, column &gt; 80: XML Parsing Error: attributes construct error

         &amp;/s/afp/20091230/ts_alt_afp/usitcomputersecurityinternetmcafee"&gt;&lt;img src="http&amp;

      * Line 378, column &gt; 80: XML Parsing Error: Couldn't find end of Start Tag img line 378

         &amp;/s/afp/20091230/ts_alt_afp/usitcomputersecurityinternetmcafee"&gt;&lt;img src="http&amp;

# Error X is not a member of a group specified for any attribute

        

      * Line 378, column 374: "The" is not a member of a group specified for any attribute

         &amp;isplayed on a computer screen. "The explosion of applications on Facebook and

      * Line 378, column 384: "explosion" is not a member of a group specified for any attribute

         &amp;n a computer screen. "The explosion of applications on Facebook and other ser

      * Line 378, column 387: "of" is not a member of a group specified for any attribute

         &amp; computer screen. "The explosion of applications on Facebook and other servic

      * Line 378, column 400: "applications" is not a member of a group specified for any attribute

         &amp;een. "The explosion of applications on Facebook and other services will be an

      * Line 378, column 403: "on" is not a member of a group specified for any attribute

         &amp;. "The explosion of applications on Facebook and other services will be an id
</pre>
I have tried codes like
<code>
            mystring   = str.Replace( "&amp;apos;", "'" );
            mystring = str.Replace( "&amp;quot;", "\"" );

</code>
But these two lines are generating more errors. Please tell me or give me suggestions what you know about this specific issue of validating where ' is involved. You can find the rss file at http://rss.news.yahoo.com/rss/tech
AnswerRe: How to resolve quot xml parsing issue by using C# .net Pin
Pranay Rana4-Jan-10 19:39
professionalPranay Rana4-Jan-10 19:39 
QuestionResponse.Redirect problem.... Pin
koolprasad20034-Jan-10 17:34
professionalkoolprasad20034-Jan-10 17:34 
AnswerRe: Response.Redirect problem.... Pin
mylogics4-Jan-10 19:25
professionalmylogics4-Jan-10 19:25 
AnswerRe: Response.Redirect problem.... Pin
carlecomm5-Jan-10 21:32
carlecomm5-Jan-10 21:32 
Questiontreeview - allowdrop property not showing Pin
CrimeanTurtle20084-Jan-10 12:27
CrimeanTurtle20084-Jan-10 12:27 
QuestionUsing Yahoo Site Explorer API to get uniqe domain. Pin
Henrik Bergstrom4-Jan-10 11:11
Henrik Bergstrom4-Jan-10 11:11 
QuestionDatalist won't display Pin
jboyd1114-Jan-10 5:51
jboyd1114-Jan-10 5:51 
AnswerRe: Datalist won't display Pin
Vimalsoft(Pty) Ltd4-Jan-10 6:15
professionalVimalsoft(Pty) Ltd4-Jan-10 6:15 
GeneralRe: Datalist won't display Pin
jboyd1114-Jan-10 7:31
jboyd1114-Jan-10 7:31 
GeneralRe: Datalist won't display Pin
Manas Bhardwaj4-Jan-10 7:37
professionalManas Bhardwaj4-Jan-10 7:37 
QuestionASPNETDB.MDF Pin
Abdulhafeezo4-Jan-10 4:09
Abdulhafeezo4-Jan-10 4:09 
AnswerRe: ASPNETDB.MDF Pin
Vimalsoft(Pty) Ltd4-Jan-10 6:25
professionalVimalsoft(Pty) Ltd4-Jan-10 6:25 
AnswerRe: ASPNETDB.MDF Pin
Abhishek Sur4-Jan-10 6:48
professionalAbhishek Sur4-Jan-10 6:48 
GeneralRe: ASPNETDB.MDF Pin
Abdulhafeezo4-Jan-10 7:37
Abdulhafeezo4-Jan-10 7:37 
GeneralRe: ASPNETDB.MDF Pin
Abhishek Sur4-Jan-10 20:52
professionalAbhishek Sur4-Jan-10 20:52 
AnswerRe: ASPNETDB.MDF Pin
suyogm6-Jan-10 1:07
suyogm6-Jan-10 1:07 
QuestionAspect Oriented Programming for Beginners Pin
Brendan Vogt4-Jan-10 2:28
Brendan Vogt4-Jan-10 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.