Greetings,
I am trying to import an xsd using Schema Library Manager, once the the file is imported. validation fails with the below error message. I appreciate any inputs on this.
src-resolve: Cannot resolve the name 'com:HeaderMsgType' to a(n) 'type definition' component.
src-resolve: Cannot resolve the name 'pdemo:ProviderType' to a(n) 'type definition' component.
Thanks.
xsd import validation error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
Hard to say, but start with validating the xsd using something like Oxygen XML, or xmlSpy or other xsd validation and design tools. It's possible that the xsd collection you are importing has issues.
Be sure also that you have "all" of the xsd.....very often there are many xsd's that make up a single larger xsd ---- and often thay are stored and imported from one single .zip file.
Ernie
Be sure also that you have "all" of the xsd.....very often there are many xsd's that make up a single larger xsd ---- and often thay are stored and imported from one single .zip file.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
from the error message, it looks like the validation is not able to find the HeaderMsgType and ProviderType. If these are two external references (meaning, if your original xsd is referring to another xsd) make sure you import these xsds as well. Below is the example:
--This is just an element
<xsd:element minOccurs="0" name="addInfo" type="xsd:boolean" />
--This is referrring to another xsd
<xsd:element minOccurs="0" name="assignment" type="bons0:Assignment" maxOccurs="unbounded" />
--This is just an element
<xsd:element minOccurs="0" name="addInfo" type="xsd:boolean" />
--This is referrring to another xsd
<xsd:element minOccurs="0" name="assignment" type="bons0:Assignment" maxOccurs="unbounded" />
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
look for import and include statements in your xsd....make sure you have those...often they are all together in a single sub directory or single zip file
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>