-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from zenbot/master
Handle transaction metadata in CDATA sections
- Loading branch information
Showing
3 changed files
with
102 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="us-ascii"?> | ||
<?OFX OFXHEADER="200" VERSION="200" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE"?> | ||
<OFX> | ||
<SIGNONMSGSRSV1> | ||
<SONRS> | ||
<STATUS> | ||
<CODE>0</CODE> | ||
<SEVERITY>INFO</SEVERITY> | ||
</STATUS> | ||
<DTSERVER>20131215</DTSERVER> | ||
<LANGUAGE>ENG</LANGUAGE> | ||
<FI> | ||
<ORG>SUNCORP</ORG> | ||
<FID>484-799</FID> | ||
</FI> | ||
</SONRS> | ||
</SIGNONMSGSRSV1> | ||
<BANKMSGSRSV1> | ||
<STMTTRNRS> | ||
<TRNUID>1</TRNUID> | ||
<STATUS> | ||
<CODE>0</CODE> | ||
<SEVERITY>INFO</SEVERITY> | ||
</STATUS> | ||
<STMTRS> | ||
<CURDEF>AUD</CURDEF> | ||
<BANKACCTFROM> | ||
<BANKID>SUNCORP</BANKID> | ||
<ACCTID>123456789</ACCTID> | ||
<ACCTTYPE>CHECKING</ACCTTYPE> | ||
</BANKACCTFROM> | ||
<BANKTRANLIST> | ||
<DTSTART>20130618</DTSTART> | ||
<DTEND>20131215</DTEND> | ||
<STMTTRN> | ||
<TRNTYPE>DEBIT</TRNTYPE> | ||
<DTPOSTED>20131215</DTPOSTED> | ||
<TRNAMT>-16.85</TRNAMT> | ||
<FITID>1</FITID> | ||
<CHECKNUM>0</CHECKNUM> | ||
<NAME><![CDATA[EFTPOS WDL HANDYWAY ALDI STORE ]]></NAME> | ||
<MEMO><![CDATA[EFTPOS WDL HANDYWAY ALDI STORE GEELONG WEST VICAU]]></MEMO> | ||
</STMTTRN> | ||
</BANKTRANLIST> | ||
<LEDGERBAL> | ||
<BALAMT>1234.12</BALAMT> | ||
<DTASOF>20131215</DTASOF> | ||
</LEDGERBAL> | ||
<AVAILBAL> | ||
<BALAMT>1234.12</BALAMT> | ||
<DTASOF>20131215</DTASOF> | ||
</AVAILBAL> | ||
</STMTRS> | ||
</STMTTRNRS> | ||
</BANKMSGSRSV1> | ||
</OFX> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bd544ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit really needed a setup.py requires for lxml, and as far as I can tell, the CDATA test fails?
bd544ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Sorry for bringing this up in 3 places now; I didn't realize others were having the same problem.)
Even with lxml installed this test fails for me. I opened #76.