Whew! I thought no one knew what I wast alking about.. The Dump shows YES.
The word YES. Initially, it shows the contents of the category form that was entered the first time? And then it shows..YES. It seems that it is at the point where I am deserialising that I have a problem. Are my structures set up correctly to simply append the Form to them? Have you seen this error before? I am stumped as to what it could be if my structures are set correctly. This is the first time I am trying to use structures in this way. -Gel -----Original Message----- From: Raymond Camden [mailto:jedimaster@;macromedia.com] > ------------------------------ > XML parsing error: unclosed token (error code 5, line 1, column 0, > buffer offset -1) > ------------------------------ > > Here's the code that I'm using: > > ----------------------------- > > <CFIF NOT IsDefined("client.categoryform") AND > IsDefined("form.category")> > > <cfset "categoryform" = structnew()> > <cfset "categoryform" = duplicate(form)> First off - remove the quotes. Not sure they are causing the error - but you don't need them: You can also nuke the structNew(), just use the duplicate. <cfset categoryform = duplicate(form)> > <cfwddx action="CFML2WDDX" input="#categoryform#" > output="Client.categoryform"> > <cfwddx action="WDDX2CFML" input="#client.categoryform#" > output="CategoryForm"> > <CFDUMP var="#CategoryForm#"> > > <CFELSEIF IsDefined("client.categoryform") AND > IsDefined("form.category")> > <CFDUMP var="#CategoryForm#"> So - what does the dump show? > <cfwddx action="WDDX2CFML" input="#client.categoryform#" > output="CategoryForm"> > > <cfset "categoryform" = StructAppend(#categoryform#,#form#)> Again - nuke the quotes, and all the #s above. > <cfwddx action="CFML2WDDX" input="#categoryform#" > output="Client.categoryform"> > > <cfwddx action="WDDX2CFML" input="#categoryform#" > output="CategoryForm"> > > <CFDUMP var="#CategoryForm#"> > > </CFIF> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

