<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-c10.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T02:22:43</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#37172" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#25956" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15439" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15420" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#37172">
		<title>coldfusion/6.1/htmldocs/tags-c10.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#37172</link>
		<description>switch thinks &quot;00&quot; and &quot;0A&quot; are both &quot;0.0&quot;....&lt;br /&gt;&lt;br /&gt;function Hex7toStr(Char){&lt;br /&gt;	switch (Char)                      &lt;br /&gt;	{                                &lt;br /&gt;	case &quot;00&quot;:                   &lt;br /&gt;		newchar = &quot;NUL&quot;;       &lt;br /&gt;		break;		              &lt;br /&gt;	case &quot;0A&quot;:&lt;br /&gt;		newchar = &quot;LF&quot;;&lt;br /&gt;		break;&lt;br /&gt;	}	&lt;br /&gt;	return newchar;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Is this expected behaviour?</description>
		<dc:creator>KerryKing</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-11T04:23:31</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#25956">
		<title>coldfusion/6.1/htmldocs/tags-c10.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#25956</link>
		<description>Switch and Case take strings the documentation should explicitely say whether these tags are case-sensitive.&lt;br /&gt;&lt;br /&gt;Also, the doc says that the expression should evaulate to a scalar.   Is a string normally considered a scalar value?</description>
		<dc:creator>MikerRoo</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-29T20:28:27</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15439">
		<title>coldfusion/6.1/htmldocs/tags-c10.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15439</link>
		<description>Your example doesn't throw an error, but there's no CFML code outside of the CFCASE tags. If you were to alter your code as in the following example, you would see that ColdFusion throws an error when it encounters the CFOUTPUT.&lt;br&gt;&lt;CFSET x=1&gt;&lt;br&gt;&lt;CFSWITCH EXPRESSION=&quot;#x#&quot;&gt;&lt;br&gt;	&lt;CFCASE VALUE=&quot;0&quot;&gt;test1&lt;/CFCASE&gt;&lt;br&gt;	&lt;CFOUTPUT&gt;The value of x is #x#.&lt;/CFOUTPUT&gt;&lt;br&gt;	&lt;CFCASE VALUE=&quot;2&quot;&gt;test2&lt;/CFCASE&gt;&lt;br&gt;	not in case 2&lt;br&gt;&lt;/CFSWITCH&gt;</description>
		<dc:creator>ASandstrom</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-05-26T09:00:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15420">
		<title>coldfusion/6.1/htmldocs/tags-c10.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-c10.htm#15420</link>
		<description>This page states:&lt;br /&gt;&quot;All code within this tag must be within a cfcase or cfdefaultcase tag. Otherwise, ColdFusion throws an error.&quot;&lt;br /&gt;This statement is not true (at least in CF MX 6.1), the following code runs just fine:&lt;br /&gt;&lt;CFSET x=1&gt;&lt;br /&gt;&lt;CFSWITCH EXPRESSION=&quot;#x#&quot;&gt;&lt;br /&gt;	&lt;CFCASE VALUE=&quot;0&quot;&gt;test1&lt;/CFCASE&gt;&lt;br /&gt;	not in case 1&lt;br /&gt;	&lt;CFCASE VALUE=&quot;2&quot;&gt;test2&lt;/CFCASE&gt;&lt;br /&gt;	not in case 2&lt;br /&gt;&lt;/CFSWITCH&gt;</description>
		<dc:creator>bsimmons</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-26T08:10:05</dc:date>
	</item>
	</rdf:RDF>

