MACROMEDIA COLFUSION MX 7-CFML Reference page 692

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

IsWDDX
Description
Determines whether a value is a well-formed WDDX packet.
Returns
True, if the value is a well-formed WDDX packet; False, otherwise.
Category
Decision
functions,
Syntax
IsWDDX(value)
See also
"Using WDDX" in Chapter 35, "Using XML and WDDX," in ColdFusion MX Developer's Guide
History
ColdFusion MX: Changed behavior: if the
returns False. (In earlier releases, ColdFusion threw an error.)
Parameters
Parameter
value
Usage
This function processes a WDDX packet with a validating XML parser, which uses the WDDX
Document Type Definition (DTD).
To prevent CFWDDX deserialization errors, you can use this function to validate WDDX
packets from unknown sources.
Example
<cfset packet="
<wddxPacket version='1.0'>
<header></header>
<data>
<struct>
<var name='ARRAY'>
<array length='3'>
<string>one</string>
<string>two</string>
</array>
</var>
<var name='NUMBER'>
<string>5</string>
</var>
<var name='STRING'>
<string>hello</string>
</var>
692
Chapter 3: ColdFusion Functions
XML functions
Description
A WDDX packet
parameter is not a WDDX packet, ColdFusion
value

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents