1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-22 03:30:04 -05:00

Add missing leaf elements with numbers

This commit is contained in:
Aaron Lindsay 2017-04-03 19:50:54 -04:00
parent 42864dace3
commit e2b0819888

View File

@ -7,13 +7,16 @@ package ofxgo
// element nesting. // element nesting.
// //
// Generated using the following command with the 1.0.3 SPEC .dtd file: // Generated using the following command with the 1.0.3 SPEC .dtd file:
// # sed -rn 's/^<!ELEMENT\s+([A-Z]+)\s+-\s+o\s+%.*TYPE>.*$/\t"\1",/p' *.dtd | sort // # sed -rn 's/^<!ELEMENT\s+([A-Z0-9]+)\s+-\s+o\s+%.*TYPE>.*$/\t"\1",/p' *.dtd | sort
var ofxLeafElements = []string{ var ofxLeafElements = []string{
"ACCESSKEY", "ACCESSKEY",
"ACCTID", "ACCTID",
"ACCTKEY", "ACCTKEY",
"ACCTREQUIRED", "ACCTREQUIRED",
"ACCTTYPE", "ACCTTYPE",
"ADDR1",
"ADDR2",
"ADDR3",
"ADJAMT", "ADJAMT",
"ADJDATE", "ADJDATE",
"ADJDESC", "ADJDESC",
@ -223,6 +226,10 @@ var ofxLeafElements = []string{
"TSPHONE", "TSPHONE",
"URL", "URL",
"USEHTML", "USEHTML",
"USERCRED1",
"USERCRED1LABEL",
"USERCRED2",
"USERCRED2LABEL",
"USERID", "USERID",
"USERKEY", "USERKEY",
"USERPASS", "USERPASS",