-
Notifications
You must be signed in to change notification settings - Fork 181
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
StackoverflowException on attribute groups #343
Comments
Actually, I am afraid, that the solution is not really solving the issue. It is rather cutting the output without considering the references. |
The solution in the meantime was to extend the AttributeGroups and the Groups variable of ModelBuilder:
The CreatePropertiesForAttributes function has to be changed as follows:
And the functions had to be adjusted:
That has solved the problem. |
Thanks a lot. I have integrated your changes. You're also welcome to contribute code by creating a pull request. That way, you are credited as the author of the code changes in the project's history and it makes the workflow easier. |
Hi, when I am converting the yEd-graphML source xsd, then it comes to a StackoverflowException. I am calling the generator with the following parameters:
-n http://graphml.graphdrawing.org/xmlns=GraphML -n http://www.w3.org/1999/xlink=XLink -n http://www.yworks.com/xml/graphml=YEd --nu --sf --csm=Public --ct=System.Array --dc ".\ygraphml.xsd"
The problem is an infinite loop in the CreatePropertiesForAttributes function of the model builder.
The problem appears on line 804 ff in ModelBuilder.cs:
If the item determination is replaced by the following line, then the problem is not appearing anymore (similar approach as line 800 in ModelBuilder.cs:
The text was updated successfully, but these errors were encountered: