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
Currently, some XML metadata is left out of dictionaries/json produced by to_dict() and to_json() calls. Namely, schemalocations and non-STIX namespaces.
Going round trip on a document (XML to python-stix to dictionary to python-stix to XML) may produce invalid XML instance data because of this lossy translation.
For example, non-STIX id namespaces need to be included in the output dictionary from to_dict() so that a document being built from that dictionary can include the appropriate namespace declarations.
The text was updated successfully, but these errors were encountered:
Currently, some XML metadata is left out of dictionaries/json produced by
to_dict()
andto_json()
calls. Namely, schemalocations and non-STIX namespaces.Going round trip on a document (XML to python-stix to dictionary to python-stix to XML) may produce invalid XML instance data because of this lossy translation.
For example, non-STIX id namespaces need to be included in the output dictionary from
to_dict()
so that a document being built from that dictionary can include the appropriate namespace declarations.The text was updated successfully, but these errors were encountered: