7 Commits

Author SHA1 Message Date
Todd
59b2711e1b schema: apply more default values
These are implied values as they are the defaults in the XSD
for optional attributes/elements. However I've noticed that
I keep running into issues where Mac Excel/Word fail to open
a file unless an optional default is provided.

I'll just add them all to hopefully increase compatibility and
save painful file format debugging sessions later.
2017-09-04 17:14:06 -05:00
Todd
ba68d59d67 schema: serialize booleans as 1/0 instead of true/false
This matches what the MS products and LibreOffice do.
2017-09-04 11:08:29 -05:00
Todd
bbc2b9fde2 schema: add marshal/unmarshal on a newly created type 2017-09-02 13:13:12 -05:00
Todd
f28708bf97 schema: add better error messages when unmarshaling an unknown element 2017-09-01 17:13:33 -05:00
Todd
35912f079b schema: add comments to validate methods 2017-09-01 15:42:20 -05:00
Todd
d1d44902d1 schema: remove un-needed attr clearing 2017-09-01 15:42:20 -05:00
Todd
4bd04dd2e5 initial commit 2017-08-29 15:06:08 -05:00