jimbraun / XCDF

XCDF: eXplicitly Compacted Data Format. See documentation at Read the Docs:
https://xcdf.readthedocs.io/en/latest/
Other
14 stars 8 forks source link

Allocating fields before Open() when writing a file leads to an error #47

Closed jimbraun closed 8 years ago

jimbraun commented 9 years ago

This should be reasonable behavior. The problem is that the code checks whether we have an open ostream rather than directly passing whether we need to write the header.