7834d53f9b
Trim spaces when unmarshalling UIDs
...
This ensures the correct value is parsed when SGML tags aren't closed.
Also add a test.
2017-04-03 19:46:10 -04:00
5596cfbf8d
Don't require UIDs to be 36 characters
...
The spec strongly recommends this, but doesn't strictly require it
2017-03-29 09:23:15 -04:00
31f33b66d7
go fmt
2017-03-27 20:14:18 -04:00
f2cea7c6d4
Switch to own clone of xml encoding library
2017-03-22 20:59:40 -04:00
81814feaff
types: Be more lenient on Date, Int, and Amount parsing
...
Some of these types can have stray newlines in them, and Vanguard has a
very strange bug where they repeat the time portion of a DTSTART element
for a second time (we disregard the latter portion).
2017-03-19 20:46:01 -04:00
257495a343
Add testing for basic types, fix some bugs
2017-03-13 21:09:15 -04:00