Todd
e83404616d
Revert "schema: apply more default values"
...
This caused problems with Libre.
This reverts commit 59b2711e1b87be534c9cd3d155710d13cfe7743b.
2017-09-05 06:33:38 -05:00
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
45fe2ad00c
schema: fix element with duplicate attrs on synthetic elements
2017-09-04 15:01:14 -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
4004c7d49d
schema: remove unused code
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
2d3cc73ea6
schema: initialize non-optional members in constructors
...
- initialize enums
- initialize native types using constraints
- initialize patterns
2017-08-30 20:17:09 -05:00
Todd
4bd04dd2e5
initial commit
2017-08-29 15:06:08 -05:00