<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>K-Squared Ramblings &#187; Acrobat</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/acrobat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Adobe Vulnerabilities Everywhere</title>
		<link>http://www.hyperborea.org/journal/2009/08/adobe-vuln/</link>
		<comments>http://www.hyperborea.org/journal/2009/08/adobe-vuln/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 06:30:00 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2009/08/25/line-items-for-2009-08-25/</guid>
		<description><![CDATA[Uh-oh: 80% of web users running unpatched versions of Flash/Acrobat. These are being exploited, so check your system! #]]></description>
			<content:encoded><![CDATA[<p>Uh-oh: <a href="http://www.zdnet.com/blog/security/research-80-of-web-users-running-unpatched-versions-of-flashacrobat/4097">80% of web users</a> running unpatched versions of Flash/Acrobat. These are being exploited, so check your system! <a href="http://twitter.com/KelsonV/statuses/3540462620" class="aktt_tweet_time">#</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2009/08/adobe-vuln/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Expected dict&#8221; Errors in FDF Acrobat Forms</title>
		<link>http://www.hyperborea.org/journal/2005/10/fdf-errors/</link>
		<comments>http://www.hyperborea.org/journal/2005/10/fdf-errors/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 22:11:43 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[FDF]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[Long]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1103</guid>
		<description><![CDATA[Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years. The page in question retrieved data from a database and filled out an Acrobat form using FDF. Under &#8230; <a href="http://www.hyperborea.org/journal/2005/10/fdf-errors/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years.  The page in question retrieved data from a database and filled out an Acrobat form using FDF.  Under some circumstances, Adobe Reader would generate an error message, &#8220;Expected a dict object.&#8221;  Then it would freeze, and crash the web browser for good measure.</p>
<p>This site was built with ColdFusion, and used a then-freely-available library called PDFFormFiller.cfm (I can&#8217;t find any sign of it now) to generate the FDF code.  After saving the offending FDF to a file (eliminating the browser as a factor), I started manually editing the code to see what happened.</p>
<p>The problem turned out to be parentheses appearing in the form data.  FDF uses parentheses-delimited strings, and it was finding <code>)</code> in the code and trying to parse what was left as FDF tokens.  The solution was simple: just escape the parentheses as <code>\(</code> or <code>\)</code>.<span id="more-1103"></span></p>
<p>In this case, I changed this expression:</p>
<blockquote><p><code>#Evaluate("VarStruct.#VarName#")#</code></p></blockquote>
<p>to</p>
<blockquote><p><code>#ReplaceList(Evaluate("VarStruct.#VarName#"),"(,)","\(,\)")#</code></p></blockquote>
<p>I don&#8217;t know whether older versions of Acrobat Reader were more lenient about this or whether this site just never ran into anyone using parentheses before.  Either way, there&#8217;s precious little useful information about this problem online.  In case anyone else runs into it, this entry should help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2005/10/fdf-errors/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

