From afd767bf26c6853c36178e2fc0d091ba1b598fea Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Mon, 5 Apr 2021 14:35:49 -0400 Subject: Added a basic xml parser that deals with local files. TODO: add a url one. Also, added some tests to ensure it's ok. Needs some edge case testing still. --- data/bad.xml | 0 data/xml_trade_test.xml | 111 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 data/bad.xml create mode 100644 data/xml_trade_test.xml (limited to 'data') diff --git a/data/bad.xml b/data/bad.xml new file mode 100644 index 0000000..e69de29 diff --git a/data/xml_trade_test.xml b/data/xml_trade_test.xml new file mode 100644 index 0000000..9bd5b1b --- /dev/null +++ b/data/xml_trade_test.xml @@ -0,0 +1,111 @@ + + + + X0306 + + 4 + + 2021-03-31 + + 0 + + + 0001517006 + Gatos Silver, Inc. + GATO + + + + + 0001561844 + Levental Igor + + + C/O GATOS SILVER, INC., + 8400 E. CRESCENT PARKWAY, SUITE 600 + GREENWOOD VILLAGE + CO + 80111 + + + + 1 + 0 + 0 + 0 + + + + + + + + + Common Stock + + + 2021-03-31 + + + + 4 + A + 0 + + + + + 8236 + + + + 0 + + + A + + + + + 10799 + + + + + + D + + + + + + Common Stock + + + + 97363 + + + + + I + + + By Levental Family Trust + + + + + + + + Consists entirely of deferred stock units ("DSUs"), which were fully vested on the grant date. Each DSU entitles the holder to receive one share of the Company's common stock upon departure from the Company. + Includes 10,799 DSUs, which were fully vested on the date of grant. + The reporting person disclaims beneficial ownership of these shares except to the extent of his pecuniary interest. + + + + /s/ Roger Johnson, Attorney-in-Fact for Igor Levental + 2021-04-02 + + -- cgit v1.2.3-70-g09d2