<?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 - CFML_Reference - Tags-pt310.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-26T03:44:22</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#867" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#798" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#579" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#533" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#867">
		<title>coldfusion/6/CFML_Reference/Tags-pt310.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#867</link>
		<description>I don't know if this is a bug, but I had the following code throw an unknown error:&lt;br&gt;&lt;br&gt;&lt;cfswitch expression=&quot;#tSQL#&quot;&gt;&lt;br&gt;  &lt;cfcase value=&quot;...&quot;&gt;&lt;br&gt;  &lt;/cfcase&gt;&lt;br&gt;  .&lt;br&gt;  .&lt;br&gt;  .&lt;br&gt;  &lt;cfdefaultcase&gt;&lt;!--- do nothing ---&gt;&lt;/cfdefaultcase&gt;&lt;br&gt;&lt;/cfswitch&gt;&lt;br&gt;&lt;br&gt;I banged my hands on my computer for two days trying to fix this and finally did a line-by-line comparison with a version of my page that was working. It turns out that once I did this:&lt;br&gt;&lt;br&gt;&lt;cfswitch expression=&quot;#tSQL#&quot;&gt;&lt;br&gt;  &lt;cfcase value=&quot;...&quot;&gt;&lt;br&gt;  &lt;/cfcase&gt;&lt;br&gt;  .&lt;br&gt;  .&lt;br&gt;  .&lt;br&gt;  &lt;cfdefaultcase&gt;&lt;!--- do nothing ---&gt; &lt;/cfdefaultcase&gt;&lt;br&gt;&lt;/cfswitch&gt;&lt;br&gt;&lt;br&gt;My page was working again. It's a weird error because it only happened when I put in two cfcase blocks which contained cffile and cflock tags, but when I took those two tags out the cfdefaultcase thing didn't happen, so I thought it was a problem with cflock and cffile.&lt;br&gt;&lt;br&gt;To make a Long-winded story short, moral of the day is put something...anything... between coldfusion tags, even if it's just one whitespace. Apparently CF likes space between tags, and comments don't count. Good luck, I hope no one else runs into this problem.</description>
		<dc:creator>psychogears</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-06-12T22:02:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#798">
		<title>coldfusion/6/CFML_Reference/Tags-pt310.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#798</link>
		<description>Dangit! I know there's a way to handle multiple cases within one case, but cannot find an example, e.g.&lt;br&gt;&lt;br&gt;&lt;case value = &quot;1,2,3,4,5&quot;&gt;&lt;br&gt; do something&lt;br&gt;&lt;/case&gt;&lt;br&gt;&lt;br&gt;Hey that actually looks right - maybe I'll try it!&lt;br&gt;</description>
		<dc:creator>peterson2003</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-12-30T14:55:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#579">
		<title>coldfusion/6/CFML_Reference/Tags-pt310.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#579</link>
		<description>Update from Macromedia, in response to fusebox_steve:&lt;br&gt;The parameters are described in the CFSWITCH tag entry. (Click the CFSWITCH link on this page.)</description>
		<dc:creator>ctina</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-07-22T14:12:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#533">
		<title>coldfusion/6/CFML_Reference/Tags-pt310.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt310.htm#533</link>
		<description>The Docs say....&lt;br&gt;&lt;br&gt;You can put the cfdefaultcase tag at any position within a cfswitch statement; it is not required to be the last item. &lt;br&gt;&lt;br&gt;This is incorrect. At least on CF5&lt;br&gt;&lt;br&gt;Generates error...&lt;br&gt;&lt;br&gt;Context validation error in tag CFDEFAULTCASE&lt;br&gt;&lt;br&gt;The tag is not correctly positioned relative to other tags in the template: tag CFDEFAULTCASE must be the last child of its parent tag CFSWITCH.</description>
		<dc:creator>scjackson</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-07-15T17:52:00</dc:date>
	</item>
	</rdf:RDF>

