]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commit
Add a function to TSN.XML.Weather to detect the unsupported second type.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 5 Jul 2014 23:00:31 +0000 (19:00 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 5 Jul 2014 23:00:31 +0000 (19:00 -0400)
commitf60eab7bde994afb9b2f727e56b0a635413bdd3b
tree101d8b43d766866fc48f7263ce6025ca3a7a296c
parent155a71f84dd8f16d16f8673de0552e8a4e07e611
Add a function to TSN.XML.Weather to detect the unsupported second type.
Fail with ImportUnsupported instead of an error when we encounter the second type of weatherxml.
Update the man page with a mention of the unsupported weatherxml handling.
Remove a TODO.
Add tests for the unsupported weather document and its underlying function.
doc/TODO
doc/man1/htsn-import.1
src/Main.hs
src/TSN/XML/Weather.hs
test/shell/import-duplicates.test
test/shell/weatherxml-type2-unsupported.test [new file with mode: 0644]
test/xml/weatherxml-type2.xml [moved from doc/xml-samples/weird-weatherxml.xml with 100% similarity]