<?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 - funca110.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-25T22:12:52</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#25566" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17687" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17083" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#1670" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#25566">
		<title>coldfusion/6.1/htmldocs/funca110.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#25566</link>
		<description>When I call toStirng() on a valid XML document that contains&lt;br /&gt;&lt;link href=&quot;&quot; rel=&quot;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;it converts it to &lt;link href=&quot;&quot; rel=&quot;&quot;&gt;&lt;br /&gt;whats up with that? I did not tell it I wanted HTML..&lt;br /&gt;I'm still trying to find a way to overcome this huge problem.</description>
		<dc:creator>TacoBell</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-16T14:31:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17687">
		<title>coldfusion/6.1/htmldocs/funca110.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17687</link>
		<description>when an XML object is dumped using toString(), all &amp;apos; entity values are replaced with single quotes (').  This is undesirable behaviour as it creates a technically invalid XML document and confuses those trying to keep XML specific chars as entities within the database.</description>
		<dc:creator>clinecorp</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-25T17:51:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17083">
		<title>coldfusion/6.1/htmldocs/funca110.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#17083</link>
		<description>When converting an XML document object using toString, I cannot specify encoding (apparently an XML Doc is not considered a binary object).  Because of this I run into the following issue:&lt;br /&gt;&lt;br /&gt;&lt;cfset xml_string = toString (XMLDoc)&gt;&lt;br /&gt;&lt;cffile action=&quot;write&quot; file=&quot;myfile.xml&quot; output=&quot;#xml_string#&quot;&gt;&lt;br /&gt;&lt;br /&gt;results in a file which has an XML header specifying UTF-8 enconding&lt;br /&gt;(&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;)&lt;br /&gt;in which all of the data is written in UTF-16&lt;br /&gt;&lt;br /&gt;00000000h: FF FE 3C 00 3F 00 78 00 6D 00 6C 00 20 00 76 00 ; ÿþ&lt;.?.x.m.l. .v.&lt;br /&gt;&lt;br /&gt;If I can't specify an encoding when I toString an XML Doc, how do I fix this?</description>
		<dc:creator>Iceborer</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-17T08:17:27</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#1670">
		<title>coldfusion/6.1/htmldocs/funca110.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funca110.htm#1670</link>
		<description>The current version of the documentation is missing the following:&lt;br&gt;&lt;br&gt;You can use the Encoding parameter only when you convert binary data to string data.&lt;br&gt;If you specify an encoding when you convert any other type of data to a string, ToString generates an error.&lt;br&gt;&lt;br&gt;Explanation:&lt;br&gt;When converting binary data to a string, the internal conversion routine must know the original textual encoding of the data so that it can properly transform it to a ColdFusion (actually Java) internal string representation, which is encoded in UTF-16.&lt;br&gt;For example, if binary data represents ISO 8859-1 (8 bit) characters, the conversion routine must convert and expand each 8-bit byte into a 16-bit UTF-16 character,&lt;br&gt;whereas if the binary data represents UTF-16, no conversion is necessary (other than removing any byte order mark).&lt;br&gt;When converting non-binary data, the data format is already known, so specifying the original encoding is not appropriate</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2003-09-05T14:25:23</dc:date>
	</item>
	</rdf:RDF>

