10 Commits

Author SHA1 Message Date
Todd
9b53a8ea41 schema: check for namespaces when decoding
- check for namespaces when decoding
- merge wordprocessingDrawing into wordprocessingml, this fixes some
  issues with cyclic import paths (XML namespaces don't translate to
  to valid go namespaces due to this)
2017-09-10 10:33:53 -05:00
Todd
2f3a3e2574 schema: add generated comment line
This causes some tools to ignore the generated code.
2017-09-09 11:02:39 -05:00
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
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