Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » XSD with includes(Validation fails for elements defined in different XSD files)
XSD with includes [message #1782109] Sun, 18 February 2018 11:10
Sven Schwyn is currently offline Sven SchwynFriend
Messages: 1
Registered: February 2018
Junior Member
Hi

Here's a newbie question working on the following set of XML schema files:

htt p://aixm.aero/schema/4.5/index.html

I've created a project and dropped (linked) all four files in there. Then opened the "AIXM-Features.xsd" and hit "validate" and got the following an similar errors:

Description Resource Path Location Type s4s-elt-invalid-content.1:
The content of 'AircraftClassType' is invalid.
> Element 'attributeGroup' is invalid, misplaced, or occurs too often.
AIXM-Features.xsd /afmx line 919 XML Schema Problem


The error is triggered for every line such as the following:

<xsd:attributeGroup ref="Changes"/>


Apparently, the definition for "Changes" is not found since it's not present in "AIXM-Features.xsd" but in "AIXM-Snapshot.xsd" which includes "AIXM-Features.xsd".

Copying the definition over removes the errors. However, is there a better solution? How can I tell Eclipse to validate "AIXM-Features.xsd" taking into consideration the includer "AIXM-Snapshot.xsd"?

Thanks for your help!
Previous Topic:New to Programming with Eclipse - just need direction
Next Topic:Unable to connect to updates repositories
Goto Forum:
  


Current Time: Wed Sep 19 05:17:55 GMT 2018

Powered by FUDForum. Page generated in 0.03025 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top