Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Cannot find declaration of element problem


This topic is 6617 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Cannot find declaration of element problem

I seem to be having a problem working with and importing a xml file. I believe it has to do with the beginning 2nd line. It seem to be goofing up FMP XML imports.

<?xml version="1.0" encoding="UTF-8"?>

......and lots more xml........

with this file in Exchanger xml

I get a "Cannot find declaration of element 'GetCategoriesResponse' "

When I remove the "xmlns="urn:ebay:apis:eBLBaseComponents"

and use it as such

<?xml version="1.0" encoding="UTF-8"?>

......and lots more xml........

my fmp xml stylesheets work as expected.

My question am I doing something wrong and I should be able to work with this or should I be doing something different and what should I be doing.

NOTE

It was Beverlys book that has been a big help on my xsl trip. And helping me find a problem even if I have yet to overcome it.

Thanks

Joe

Posted

There's a space in

GetCategoriesResponse xmlns="urn:ebay:apis:eBLB aseComponents"

Is this allowable? Sorry I know very little about xml, but it looks odd to me.

Posted

You probably have to declare the namespace in the XSLT.

Hard to tell without seeing the XSLT...

This topic is 6617 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.