File format detection and initial work for OFC support in libofx
Benoit Grégoire <[email protected]>
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
3/3/2004 Benoit Grégoire <[email protected]> * Many... * lib/file_preproc.cpp, lib/file_preproc.hh: Add file format autodetection architecture, can currently distinguish between OFX and OFC files. Note that because of this change, the main entry point of the library is now in file_preproc.cpp. * dtd/ofc.dtd, lib/ofx_sgml.cpp, lib/ofx_preproc.cpp: Add embryo of OFC (Microsoft Open Financial Connectivity) to LibOFX. The SGML parses succesfully, but LibOFX does not yet know what to do with it. Big thanks to Jeremy Jongsma (jeremy at jongsma.org) for finally finding the required DTD. Microsoft never answered my repeated mails over the last two years. I haven't yet decided if its better to to add this support to ofx_proc_sgml.cpp (easier to maintain, less code duplication), or to create a ofc_proc_sgml.cpp (easier to understand, cleaner code). CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: .cvsignore ChangeLog dtd/Makefile.am inc/libofx.h CVS: lib/Makefile.am lib/ofx_preproc.cpp lib/ofx_preproc.hh CVS: lib/ofx_sgml.cpp ofx2qif/ofx2qif.c ofxdump/ofxdump.cpp CVS: Added Files: CVS: dtd/ofc.dtd lib/file_preproc.cpp lib/file_preproc.hh CVS: ---------------------------------------------------------------------- Good night, -- Benoit Grégoire, http://step.polymtl.ca/~bock/ ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click