importing XML Definition when one XSD is referred in another xsd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

importing XML Definition when one XSD is referred in another xsd

HussainVali
Hi Every one,

  I need help in importing XSD (XML Schema Definition) file in Infromatica (Import XML Definition).

Problem:  
 
 I had one XSD referred in another like shown below.  While importing  XXX_0.xsd,  it is not importing XXX_1.xsd by default even it was mentioned. Hence throwing some errors. Attached are the XSD files for reference.

ContinuingDisclosureSubscriptionService_0.xsd
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://emma.msrb.org/schemas/cdsubscriptionmessages" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://emma.msrb.org/schemas/cdsubscriptionmessages">
  <xs:import schemaLocation="ContinuingDisclosureSubscriptionService_1.xsd" namespace="http://emma.msrb.org/schemas/subscriptionmessages/continuingdisclosure/types"/>

Error:
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 10, char 248 ): Prefix: 'q1' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 10, char 248 ): Prefix: 'q1' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 10, char 248 ): Prefix: 'q1' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 10, char 248 ): Type not found in :ContinuingDisclosureSubscriptionDataMessageType.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 30, char 299 ): Prefix: 'q2' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 30, char 299 ): Prefix: 'q2' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 30, char 299 ): Prefix: 'q2' can not be resolved to a URI.
Error at (file \\Ftc-wpinfapp202/mdpmroot/SrcFiles/EMMA/SubscriberServices_old/ContinuingDisclosureSubscriptionService_0.xsd, line 30, char 299 ): Type not found in :ContinuingDisclosureSubscriptionReplayTransactionMessageType.

The errors are because of missing types defined in XXX_0.xsd file which were defined in  XXX_1.xsd file.

Please let me know if anyone had ever came across such issue(s)/worked on these/ having idea on this.


Loading...