Click here to Skip to main content
15,906,081 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: 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 
GeneralRe: XML PRE Tag Ends Code Early Pin
Chris Maunder4-Nov-10 19:16
cofounderChris Maunder4-Nov-10 19:16 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 19:24
protectorAspDotNetDev4-Nov-10 19:24 
GeneralRe: XML PRE Tag Ends Code Early Pin
Chris Maunder4-Nov-10 19:26
cofounderChris Maunder4-Nov-10 19:26 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 19:45
protectorAspDotNetDev4-Nov-10 19:45 
GeneralRe: XML PRE Tag Ends Code Early Pin
Chris Maunder4-Nov-10 19:25
cofounderChris Maunder4-Nov-10 19:25 
GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn5-Nov-10 4:44
sitebuilderLuc Pattyn5-Nov-10 4:44 
GeneralRe: XML PRE Tag Ends Code Early Pin
Chris Maunder5-Nov-10 6:14
cofounderChris Maunder5-Nov-10 6:14 
GeneralRe: XML PRE Tag Ends Code Early Pin
Luc Pattyn5-Nov-10 6:19
sitebuilderLuc Pattyn5-Nov-10 6:19 
GeneralRe: XML PRE Tag Ends Code Early Pin
AspDotNetDev4-Nov-10 12:17
protectorAspDotNetDev4-Nov-10 12:17 
GeneralRe: XML PRE Tag Ends Code Early Pin
Chris Maunder4-Nov-10 19:21
cofounderChris Maunder4-Nov-10 19:21 
GeneralArticle Tally not correct? Pin
DaveAuld4-Nov-10 6:27
professionalDaveAuld4-Nov-10 6:27 
GeneralRe: Article Tally not correct? Pin
Dalek Dave4-Nov-10 8:38
professionalDalek Dave4-Nov-10 8:38 
GeneralRe: Article Tally not correct? Pin
DaveAuld4-Nov-10 8:50
professionalDaveAuld4-Nov-10 8:50 
GeneralInsider - am I on the outside? Pin
_Damian S_3-Nov-10 14:28
professional_Damian S_3-Nov-10 14: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.