libofx catch22

Zachary <[email protected]> Fri, 1 Dec 2006 20:08:56 -0500
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
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