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

Add XML metadata to output json/dictionaries #97

bworrell opened this Issue Apr 3, 2014 · 0 comments


None yet
2 participants

bworrell commented Apr 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment