All I can suggest is calling tech support. If the wddx encoder isn't changing those high values, it may be bugged.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Jo�o_Luiz_de_Brito_Maca�ba [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 4:02 PM > To: CF-Talk > Subject: Re: WDDX - deserializing error - "invalid character > code" - bug ??? - MM technote equivocated - any ideas Jedi Master ? > > > Any idea Jedi Master ? > > Regards, > Maca�ba. > > Historians believe that in 2002-07-16 > Jo�o_Luiz_de_Brito_Maca�ba wrote: > > > Date: Tue, 16 Jul 2002 15:46:27 -0300 (EST) > > From: Jo�o_Luiz_de_Brito_Maca�ba <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: CF-Talk <[EMAIL PROTECTED]> > > Subject: Re: WDDX - deserializing error - "invalid > character code" - bug > > ??? > > > > Hi Milosav, > > > > Historians believe that in 2002-07-16 Marius Milosav wrote: > > > > > This patch may help: > > > > http://www.macromedia.com/v1/Handlers/index.cfm?ID=22955&Method=Full > > > > I've read the TechNote above and went to check my server version : > > > > Server Information > > ------------------ > > > > Server Product : ColdFusion Server > > Version : 4, 5, 1, SP2 > > Edition : Professional > > Serial Number : CF45PNT-0710161412 > > Operating System : Windows NT > > OS Version : 4.0, Service Pack 6 > > OS Build Number : 1381 > > > > > > So, my cfserver should, by the TechNote, do the work right. > But, the > > error persists :(. And it seems I've found other characteristics of > > this bug. Let me explain: > > > > > > Quoting the TechNote: > > > > "... > > In ColdFusion versions 4.5.1 sp2 and 5, the cfwddx tag can > serialize > > ASCII characters above 127. First, it encodes these > characters using > > an &#x{hexnumber}; representation (where {hexnumber} is the > > hexadecimal equivalent of the character.) For example, the > copyright > > symbol uses © in the resulting WDDX packet. .." > > > > No, not always. When I have > > > > case I > > ------ > > > > <cfset arrayAppend(ValidationFailure["campos > > interdependentes"],"logradouro,n�mero,CEP,pa�s,UF,cidade")> > > > > I have the following *erroneous* packet > > > > (*error I*) > > > > <wddxPacket version='1.0'> > > <header></header> > > <data> > > <struct> > > <var name='CAMPOS INTERDEPENDENTES'> > > <array length='7'> > > > <string>logradouro,n�mero,CEP,pa�s,UF,cidade</string> > > ... > > </array> > > </var> > > </struct> > > </data> > > </wddxPacket> > > > > So, *not encoded in hexadecimal format*. > > > > But when I have > > > > case II > > ------- > > > > <cfset arrayAppend(ValidationFailure["campos > > interdependentes"],"Jo�o")> > > > > Then the packet is > > > > <wddxPacket version='1.0'> > > <header></header> > > <data> > > <struct> > > <var name='CAMPOS INTERDEPENDENTES'> > > <array length='7'> > > <string>João</string> > > ... > > </array> > > </var> > > ... > > > > </struct> > > </data> > > </wddxPacket> > > > > So, *coded in hexadecimal format*. What�s the qualitative > difference > > between the strings "logradouro,n�mero,CEP,pa�s,UF,cidade" > and "Jo�o" > > ?! > > > > Continuing ... > > > > "... > > When using <CFWDDX ACTION='wddx2cfml'>, ColdFusion will > automatically > > decode values such as © into the appropriate character > as it is > > deserialized. .." > > > > That�s not true. In "case II" the packet is serialized formating > > extended ASCII code in hexadecimal format, but I've got the error > > > > (*error II*) > > > > "invalid character code > > > > The error occurred while processing an element with a general > > identifier of (CFWDDX), occupying document position (21:5) > to (21:108) > > in the template file ..." > > > > > > PS: In "case I" (the situation we've got the *error I*) the > following > > error occurs: > > > > "XML parsing error: not well-formed (error code 4, line 1, > column 131, > > buffer offset 131) > > > > The error occurred while processing an element with a general > > identifier of (CFWDDX), occupying document position (21:5) > to (21:108) > > in the template file ..." > > > > > > > > So we can se the *bug* is bigger than the TechNote says. > And also the > > document is equivocated. > > > > Does anyone know MM�s e-mail for bug reporting ? Anyone from MM in > > this list ? > > > > Thanks Milosav. > > > > Regards, > > Maca�ba. > > > > > Marius Milosav > > > www.scorpiosoft.com > > > It's not about technology, it's about people. > > > Virtual Company (VICO) Application Demo > > > www.scorpiosoft.com/vicodemo/login.cfm > > > > > > ----- Original Message ----- > > > From: "Jo�o_Luiz_de_Brito_Maca�ba" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Tuesday, July 16, 2002 12:54 PM > > > Subject: WDDX - deserializing error - "invalid character > code" - bug > > > ??? > > > > > > > > > > Hi, > > > > > > > > I'm getting the following error : > > > > > > > > --- begin error --- > > > > > > > > invalid character code > > > > > > > > The error occurred while processing an element with a general > > > > identifier of (CFWDDX), occupying document position (21:5) to > > > > (21:108) in the template file ... > > > > > > > > --- end error --- > > > > > > > > > > > > in the page that tries to deserialize a structure > serialized in a > > > > previous page, and passed via post. > > > > > > > > Before posting the variable I checked that the serialized > > > > structure was fine, via customtag CF_WDDX_isPacketValid. > > > > > > > > The structure is described below : > > > > > > > > --- begin structure declaration --- > > > > > > > > <cfset ValidationFailure = structNew()> > > > > <cfset ValidationFailure["campos obrigat�rios"] = > arrayNew(1)> > > > > <cfset ValidationFailure["campos interdependentes"] = > arrayNew(1)> > > > > > > > > --- end structure declaration --- > > > > > > > > The problem occurs when the string to be inserted in > the array has > > > > *special characters* like : �, �, etc. > > > > > > > > And when I have the statement: > > > > > > > > <cfset arrayAppend(ValidationFailure["campos > > > > interdependentes"],"Jo�o")> > > > > > > > > > > > > I have the error described. > > > > > > > > But if I change the statement to > > > > > > > > > > > > <cfset arrayAppend(ValidationFailure["campos > > > > interdependentes"],"Joao")> > > > > > > > > > > > > Is that a bug ? Does anyone have any idea ? > > > > > > > > > > > > Thanks in advance, > > > > Maca�ba. > > > > > > > > > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

