XML Returning from code component. A '<' character cannot b

Dedicated forum for the visual 'drag and drop' voice application designer that allows easy creation of advanced voice applications without programming knowledge

Moderators: kevin, 3CX staff

XML Returning from code component. A '<' character cannot b

Postby SWSDEV » Wed Mar 17, 2010 4:11 pm

This is from the ivr error log

messageXML parsing error in file VadTools_SMS_MF_runSMS_DoIt.aspx, line 18: A '<' character cannot be used in
attribute 'expr', except through &lt;


There is an XML string being returned from an external code component.

How can I accept the string properly?
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: XML Returning from code component. A '<' character cannot b

Postby VAD_Support » Wed Mar 17, 2010 6:05 pm

This seems to be a bug in the VAD. We're going to investigate it and fix it.
Meanwhile, try returning the XML escaping invalid characters. Can you do that? Are you able to change the code executed by the External Code Component?
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm

Re: XML Returning from code component. A '<' character cannot b

Postby SWSDEV » Wed Mar 17, 2010 8:33 pm

Yes, I could change the code. For now I just extracted one of the values from the XML to return instead, but I'll try changing the characters also.
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: XML Returning from code component. A '<' character cannot b

Postby VAD_Support » Wed Mar 17, 2010 8:42 pm

Hi Shahzad,

Thanks for reporting the error. We're going to fix it in the next release.

Regards,
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm


Return to 3CX Voice Application Designer (VAD)

Who is online

Users browsing this forum: No registered users and 0 guests