I've discovered what was causing the error to happen with certain OFX files. An empty tag that should contain a date seem to be the cause.
For example, this <LEDGERBAL> entry works fine: <LEDGERBAL> <BALAMT>2518.57 <DTASOF>20101016085012[-7:MST] </LEDGERBAL>
While this one causes the out_of_range crash: <LEDGERBAL> <BALAMT>2518.57 <DTASOF /> </LEDGERBAL>
removing the DTASOF line altogether works fine, too..
I've discovered what was causing the error to happen with certain OFX files. An empty tag that should contain a date seem to be the cause.
For example, this <LEDGERBAL> entry works fine: 20101016085012[ -7:MST]
<LEDGERBAL>
<BALAMT>2518.57
<DTASOF>
</LEDGERBAL>
While this one causes the out_of_range crash:
<LEDGERBAL>
<BALAMT>2518.57
<DTASOF />
</LEDGERBAL>
removing the DTASOF line altogether works fine, too..