March 10, 2010

Pages


Search Site


Topics



Archives

Entries Tagged as 'Spry'

CFXML exception

February 06 2009 by admin
Lately I've been coding a lot of traditional HTML tables with SPRY. I transform cfquery data into XML using Spry.Data.XMLDataSet. For whatever reason I find it easier than using a JSON object. Over the last couple of weeks I periodically come across one of the following error messages:
Diagnostics: An error occured while Parsing an XML document. The reference to entity "foobar" must end with the ';' delimiter.
The error occurred on line 69.
or
Diagnostics: An error occured while Parsing an XML document. The The entity name must immediately follow the '&' in the entity reference.
The error occurred on line 69.


Ahhhhhrrrrrrrrggggggggg!!!!!!! So for the past week (one day I spent 5 hours on it) I've been looking over where the error is in the data and I've come to this conclusion. When an apersand exists in a datacolumn which is immediately followed by any letter the first error occurs. And when the apersand is bounded by spaces the second error occurs. At least this is what my data showed. So how to fix it. I work for a commercial vehicle leasing company so the XML will reflect that type of data. Fix 1 (this fix removes the Ampersand reference and replaces it with ' and ': <yrmakemodel>#replace('2004 Ford F-250 w/plow&spreader', '&',' and ','ALL')#</yrmakemodel> Fix 2 (this fix keeps the Ampersand reference) but It may cause some performance issues depending on the depth of the data. At least thats out experience. <yrmakemodel><![CDATA[2004 Ford F-250 w/plow&spreader]]></yrmakemodel>

Posted in Spry | 4 comments

IE cache issue with Spry data table

June 17 2008 by admin
If you have drank the Spry Kool-Aid and find that you can't live without it you may have found an issue with Spry.Data.XMLDataSet holding on to its

Read more...

Posted in Spry | 4 comments

Keeping Your Spry Tables in Sync with Your ColdFusion Reports

June 12 2008 by admin
Do you give your customers the option of printing a ColdFusion report of the tables you create with Spry? If so, keep the report and the table in sync using this tip.

Read more...

Posted in Spry | 2 comments