-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
References are not resolved from transitive dependencies (of more than one level) #58
Comments
@SimonCockx This is a nice solution. |
Thanks for the issue and the PR, it looks good! I've approved it, I'll review the one opened by @darthweiter since it appear to be related. I may deploy a new version with the suggested solutions today if everything works. |
I've released a new version, 1.2.8, with the code for this issue. |
Describe the bug
Suppose I have file
A.xsd
which includesB.xsd
which includesC.xsd
which includesD.xsd
. If I have a reference toD.xsd
inA.xsd
, it will not be resolved by the parser.This is because transitive dependencies are implemented incorrectly: they are not implemented in a recursive way and will only include "one level" of transitivity, e.g.,
C.xsd
in my example will be included, butD.xsd
will not.See the
XsdParserCore
class:Expected behavior
I expect transitive dependencies to work correctly, i.e., transitively.
Library Version
1.2.6
The text was updated successfully, but these errors were encountered: