You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I am using the parser.py to parse a STIX files version 1.2.
My problem is that when i use STIX file version 1.2.1 i get the following error:
mixbox.parser.UnsupportedVersionError: Document version (1.2.1) not in supported versions ([StrictVersion ('1.1.1'), StrictVersion ('1.2')])
How can i fix this error?
thank you for your help
The text was updated successfully, but these errors were encountered:
Hi @PintoArt, there is a separate stix121 package on PyPI, along with corresponding cybox211 and maec411 packages, but they aren't heavily tested; I'm not aware of anyone actively using them. Also they're (unfortunately) incompatible with the standard stix (for 1.2), cybox, and maec packages. It's possible to install both of them side by side, but they will clobber each other since they use the same package names.
If you need to support both at the same time, the easier approach might be to rewrite all of the STIX 1.2.1 files to use the 1.2 namespaces (or vice versa, rewriting the STIX 1.2 files to use the 1.2.1 namespaces). I thought we had a script that would do this in one of the STIX repositories, but I can't find it now (@emmanvg might know where it is). If you want to go down this route, let me know.
I'm curious where you are getting STIX 1.2.1 content from, since I've never seen any "in the wild". Feel free to contact [email protected] if you'd rather not about the source of the data on GitHub.
Hello
I am using the parser.py to parse a STIX files version 1.2.
My problem is that when i use STIX file version 1.2.1 i get the following error:
mixbox.parser.UnsupportedVersionError: Document version (1.2.1) not in supported versions ([StrictVersion ('1.1.1'), StrictVersion ('1.2')])
thank you for your help
The text was updated successfully, but these errors were encountered: