Here's a newbie question working on the following set of XML schema files:
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:
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!