A supplier generates XML code which an MX7 application needs to parse to convert to data on the CFM page.
The line <cfset myXml = xmlParse(theXml)> is used to obtain the code, which brings up the error:-
"The prefix "xsi" for attribute "xsi:type" associated with an element type "FAB_PkgAvailRS" is not bound."
This relates to the line in the XML:-
<FAB_PkgAvailRS Target="test" Version="2002A" xsi:type="FAB_PkgAvailRS"> , where the Namespace xsi throws the Parser.
What can be done about it.
If the xsi phrase is removed, it parses very easily.
Any help would be appreciated.
The line <cfset myXml = xmlParse(theXml)> is used to obtain the code, which brings up the error:-
"The prefix "xsi" for attribute "xsi:type" associated with an element type "FAB_PkgAvailRS" is not bound."
This relates to the line in the XML:-
<FAB_PkgAvailRS Target="test" Version="2002A" xsi:type="FAB_PkgAvailRS"> , where the Namespace xsi throws the Parser.
What can be done about it.
If the xsi phrase is removed, it parses very easily.
Any help would be appreciated.