Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   xsi:type functionality (http://www.mirthcorp.com/community/forums/showthread.php?t=15481)

vibinChander 08-03-2015 09:53 AM

xsi:type functionality
 
Hey, I tried to parse a CCDA sample document in mirth and found interesting thing. I can read CCDA file in mirth, and I tried to convert the snap of message into JSON format. When I give the CCDA message it throws error saying


TypeError: The prefix "xsi" for attribute "xsi:type" associated with an element type "value" is not bound.


When I removed all xsi:type attributes my message is parsed and im getting the JSON output can anyone explain what is happening? and the function of xsi:type in CCDA file? most importantly is my ccda file is fullfilled without xsi:type function?

narupley 08-03-2015 12:58 PM

You need to turn off Strip Namespaces in that case.

vibinChander 08-04-2015 04:15 AM

Could You say me how to do that?.. turning namespaces off? I cannot find in google

narupley 08-04-2015 08:58 AM

Quote:

Originally Posted by vibinChander (Post 50275)
Could You say me how to do that?.. turning namespaces off? I cannot find in google

Go to the Summary tab in your channel, and click Set Data Types. Make sure to expand all nodes in the tree, and for each inbound/outbound XML property set, uncheck "Strip Namespaces".

patrickjahn 02-19-2016 11:31 AM

Quote:

Originally Posted by narupley (Post 50256)
You need to turn off Strip Namespaces in that case.

Hey there Mr. Rupley, I am running into a similar issue where I am hitting this error roughly 50% of the time, all using CCDs from the same application system. Do you think it is an issue with malformed XML? When I change between namespace stripping enabled and disabled, I still am only getting errors 50% of the time, though I am not entirely certain that it is completely flipped between messages that were working before and stopped.

Thanks for any input you can provide.


All times are GMT -8. The time now is 11:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation