Re: libofx catch22
David Reiser <[email protected]> Fri, 1 Dec 2006 22:45:35 -0500
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
I don't know the answer to your question, but I have two observations based on my investment ofx files. TRNUID really needs to be a unique identifier. If you've imported another file with a different DTASOF and the same file name as the TRNUID, then maybe the error you're getting is the result of the 2 DTASOF values not matching for the same TRNUID. And while I have a hard time believing this is an issue, my DTSERVER is always later in time (usually by a day or more) than the DTASOF in the INVSTMTRS block. Dave On Dec 1, 2006, at 8:08 PM, Zachary wrote: > When trying to parse the file below ofxdump (0.8.2) says the > following: > > > ofxdump transactions.ofx > LibOFX INFO: libofx_proc_file(): File format not specified, > autodecting... > (Above message occured on Line 4294967295, Column 4294967295) > LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open > Financial eXchange (OFX or QFX)) > (Above message occured on Line 4294967295, Column 4294967295) > LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx3/0.8.2/dtd/ > opensp.dcl > (Above message occured on Line 4294967295, Column 4294967295) > LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx3/0.8.2/dtd/ > ofx160.dtd > (Above message occured on Line 4294967295, Column 4294967295) > LibOFX INFO: Created OfxDummyContainer to hold unsupported > aggregate SIGNONMSGSRSV1 > (Above message occured on Line 2, Column 2) > LibOFX INFO: Created OfxDummyContainer to hold unsupported > aggregate SONRS > (Above message occured on Line 3, Column 3) > ofx_proc_status(): > Ofx entity this status is relevent to: SONRS > Severity: INFO > Code: 0, name: Success > Description: The server successfully processed the request. > > LibOFX INFO: Created OfxDummyContainer to hold unsupported > aggregate INVSTMTMSGSRSV1 > (Above message occured on Line 12, Column 2) > LibOFX INFO: Created OfxDummyContainer to hold unsupported > aggregate INVSTMTTRNRS > (Above message occured on Line 13, Column 3) > ofx_proc_status(): > Ofx entity this status is relevent to: INVSTMTTRNRS > Severity: INFO > Code: 0, name: Success > Description: The server successfully processed the request. > > LibOFX ERROR: WRITEME: DTASOF () is not supported by the STATEMENT > container > (Above message occured on Line 21, Column 5) > > despite the fact that DTASOF is called for by the DTD. > Furthermore, if I omit the DTASOF tag, it complains that the tag is > mandatory. Here's the file: > > <OFX> > <SIGNONMSGSRSV1> > <SONRS> > <STATUS> > <CODE>0 > <SEVERITY>INFO > </STATUS> > <DTSERVER>20061201183943 > <LANGUAGE>ENG > </SONRS> > </SIGNONMSGSRSV1> > <INVSTMTMSGSRSV1> > <INVSTMTTRNRS> > <TRNUID>transactions.ofx > <STATUS> > <CODE>0 > <SEVERITY>INFO > </STATUS> > <INVSTMTRS> > <DTASOF>20061201183943 <!-- This should be fine, right? --> > <CURDEF>USD > <INVACCTFROM> > <BROKERID> > <ACCTID> > </INVACCTFROM> > > <!-- INVTRANLIST omitted for brevity --> > > </INVSTMTRS> > </INVSTMTTRNRS> > </INVSTMTMSGSRSV1> > </OFX> > > Any response at all would be greatly appreciated! > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Libofx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libofx-devel -- David Reiser [email protected] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV