Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Parsing Problems with Namespace

Status
Not open for further replies.

MinalMoe

IS-IT--Management
Mar 25, 2004
62
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top