Skip to content
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

Issue with substitutionGroup #9

Closed
Tim-W opened this issue Aug 5, 2019 · 3 comments
Closed

Issue with substitutionGroup #9

Tim-W opened this issue Aug 5, 2019 · 3 comments

Comments

@Tim-W
Copy link

Tim-W commented Aug 5, 2019

If there is an xs:element definition as follows:

<xs:element name="someThing" substitutionGroup="someCategory">
		<xs:complexType>
[...]

Then the call element.getXsdComplexType returns null.

What I expect is that the element.getXsdComplexType call returns the xs:complexType element, as happens when the substitutionGroup attribute is removed from the xs:element.

@lcduarte
Copy link
Member

lcduarte commented Aug 5, 2019

Hello Tim,
Thanks for pointing it out, it should be fixed in the new release I just made (1.0.19).
Feel free to test again and let me now if it's all fine.

@Tim-W
Copy link
Author

Tim-W commented Aug 6, 2019

Yes, thank you 👍

@Tim-W Tim-W closed this as completed Aug 6, 2019
@fmcarvalho fmcarvalho reopened this Aug 6, 2019
@fmcarvalho
Copy link
Member

@Tim-W give a star please to the XsdParser repository!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants