on 06-19-2007 8:24 AM
Hello everybody,
I have some troubles during the import of an xml file using import manager of mdm5.5sp5p1.
I defiened a client system and an inbound port and stored the following xml schema (xsd file):
<?xml version="1.0" encoding="UTF-8"?>
<!W3C Schema generated by XMLSpy v2007 (http://www.altova.com)>
I get the following error:
Logon Error: Cannot load XML file.
Error:
COM error 80004005 Unspecific error
Source = msxml4.dll Descreption = file:///C:/DOCUME~1/.......xsd#/schema[1]
The " namespace provided differs from the schema's 'http://..._mdm_for_chemicals' targetNamespace.
I created the xsd file by using XMLSpy.
Can you please tell me what is wrong with my xml schema?
thanks in advance
René
Hi Michael,
Sorry for the missing underscore. This was my mistake when I shortened the namespace-string in order to get the post clearer. In the original files the namespaces are the same.
Kind Regards,
René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
thanks a lot. I added the URI in the XML Schema Definition and now it works.
Kind Regards,
René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rene,
th ereason is most probably that your defined xmlns differs from the targetNamespace in your XSD. Using Altova MXL Spy I'm unable to validate your XML against your XSD. I'd suggest to check the schema definition of your XSD:
<xs:schema xmlns="http://..._mdm_for_chemicals" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://...mdm_for_chemicals">
The definition has a leading underscore in the NS, the target NS has no leading underscore. Setting both to the same value, I'm able to validate your XML (but I did not check in IM / MDIS).
Edit:
choosing XML instead of XML Schema for a port does not validate your XML against the XSD during import!
BR Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I solved the problem. The mistake was in the definition of the port. In the port details, I chose XML Schema instead of XML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.