Hi, if you include "import stix.extensions.marking.ais" in your imports before trying to load Stix file from XML it works fine without the need to remove US-Cert markings.
From the documentation of StixProject:
If you are writing code that needs to parse AIS markings, make sure that your
program imports this module before beginning to parse any STIX documents:
.. code-block:: python
import stix.extensions.marking.ais
Hi, if you include "import stix.extensions.marking.ais" in your imports before trying to load Stix file from XML it works fine without the need to remove US-Cert markings.
From the documentation of StixProject:
If you are writing code that needs to parse AIS markings, make sure that your program imports this module before beginning to parse any STIX documents: .. code-block:: python import stix.extensions.marking.ais