olofk Posted July 13, 2017 Report Share Posted July 13, 2017 Hi, I've been looking at creating a Python library to work with IP-XACT. My current attempt (https://github.com/olofk/ipyxact) implements a small subset of IP-XACT, but it would be too much work to do this for the complete standard, so instead I've been looking at using generateDS to help me with the process of creating classes. The problem that appears now is that there are some tags in the schema files with identical names that are defined in several places. An example of this is the viewRef type. It is defined in 7 different places. Some of these are identical, which leaves us with 3 unique definitions. These three unique versions are similar enough so that the python classes are actually identical for all 7 definitions. My question is therefore, should there really only be one definition of viewRef, that all the other can refer to? The same thing would apply to other tags as well, such as accessHandles, registerType, portType etc, or am I missing something? I haven't dealt with xsd files before, so my knowledge of the subject is limited Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.