Click here to Skip to main content
15,923,051 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Spammer alert Pin
Slacker0075-Nov-10 0:39
professionalSlacker0075-Nov-10 0:39 
GeneralRe: Spammer alert Pin
RaviRanjanKr5-Nov-10 1:30
professionalRaviRanjanKr5-Nov-10 1:30 
GeneralRe: Spammer alert Pin
PompeyBoy35-Nov-10 2:02
PompeyBoy35-Nov-10 2:02 
GeneralRe: Spammer alert Pin
Richard MacCutchan5-Nov-10 2:29
mveRichard MacCutchan5-Nov-10 2:29 
GeneralRe: Spammer alert Pin
Dalek Dave5-Nov-10 1:57
professionalDalek Dave5-Nov-10 1:57 
GeneralRe: Spammer alert Pin
Richard MacCutchan5-Nov-10 1:57
mveRichard MacCutchan5-Nov-10 1:57 
GeneralHide Deleted QA Content Pin
AspDotNetDev4-Nov-10 10:49
protectorAspDotNetDev4-Nov-10 10:49 
GeneralRe: Hide Deleted QA Content Pin
Chris Maunder4-Nov-10 19:23
cofounderChris Maunder4-Nov-10 19:23 
GeneralRe: Hide Deleted QA Content Pin
AspDotNetDev4-Nov-10 19:28
protectorAspDotNetDev4-Nov-10 19:28 
GeneralAbility To View Message Source Text Pin
AspDotNetDev4-Nov-10 10:19
protectorAspDotNetDev4-Nov-10 10:19 
GeneralRe: Ability To View Message Source Text Pin
Chris Maunder4-Nov-10 19:22
cofounderChris Maunder4-Nov-10 19:22 
GeneralRe: Ability To View Message Source Text Pin
AspDotNetDev4-Nov-10 19:26
protectorAspDotNetDev4-Nov-10 19:26 
GeneralNot able to add "Google" tag to article. Pin
Kamyar4-Nov-10 9:48
Kamyar4-Nov-10 9:48 
GeneralRe: Not able to add "Google" tag to article. Pin
Chris Maunder4-Nov-10 19:23
cofounderChris Maunder4-Nov-10 19:23 
GeneralRe: Not able to add "Google" tag to article. Pin
Kamyar4-Nov-10 21:10
Kamyar4-Nov-10 21:10 
GeneralRe: Not able to add "Google" tag to article. Pin
Sean Ewington5-Nov-10 2:49
staffSean Ewington5-Nov-10 2:49 
GeneralXML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 7:13
protectorAspDotNetDev4-Nov-10 7:13 
GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn4-Nov-10 7:21
sitebuilderLuc Pattyn4-Nov-10 7:21 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 7:59
protectorAspDotNetDev4-Nov-10 7:59 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 8:00
protectorAspDotNetDev4-Nov-10 8:00 
GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn4-Nov-10 8:15
sitebuilderLuc Pattyn4-Nov-10 8:15 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 8:49
protectorAspDotNetDev4-Nov-10 8:49 
Just to be clear, it is only the XML that MAY be malformed (but will still work fine when put through an XSLT processor). The HTML is encoded as it should be. Every < is replaced by &lt; and the same goes for the other characters. I selected "Encoded < When Pasting", so that should be perfectly fine. To demonstrate this, here is the XML code block from my above post, encoded further and wrapped in a PRE block with the LANG set to HTML:
HTML
<pre lang="xml">&lt;xsl:stylesheet version='1.0' 
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
     xmlns:msxsl='urn:schemas-microsoft-com:xslt'
     xmlns:theScript='urn:CustomScript'&gt;
  &lt;xsl:output omit-xml-declaration='yes' method='text'
       media-type='text/plain' indent='no' /&gt;
  &lt;xsl:variable name='displayme' /&gt;
 
  &lt;msxsl:script implements-prefix='theScript' language='C#'&gt;
  &lt;![CDATA[
  public string HelloName(string name)
  {
    return "Hello " + name;
  }
  ]]&gt;
  &lt;/msxsl:script&gt;
  
  &lt;xsl:template match='/'&gt;
    &lt;xsl:text disable-output-escaping='yes'&gt;Print Integers &gt; 3&lt;/xsl:text&gt; 
    &lt;xsl:apply-templates select='Root/Numbers' /&gt;
    Script Result: &lt;xsl:value-of select='theScript:HelloName("Joe")' /&gt;
    Done: &lt;xsl:value-of select='$displayme' /&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template match='Numbers'&gt;
    Numbers:&lt;xsl:apply-templates select='Integer[@value &gt; 3]' /&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template match='Integer'&gt;
    Integer: &lt;xsl:value-of select='@value' /&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</pre>

The HTML is definitely not the issue. It's the colorizers interpretation of the XML that is the problem.

GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn4-Nov-10 9:22
sitebuilderLuc Pattyn4-Nov-10 9:22 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 10:21
protectorAspDotNetDev4-Nov-10 10:21 
GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn4-Nov-10 10:43
sitebuilderLuc Pattyn4-Nov-10 10:43 

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.