Comments (2)
Thanks, @thorsten-de. These are 2 different problems:
(…) purpose is set by joining the details, separated with " ". (…) I just can't recognize if that space was part of the transaction data or just of the joining process.
Agreed. Adding extra whitespace to the purpose is confusing. I will join the details without additional whitespace.
I'd rather like to get the raw list of lines and join it as I need. Also, having all that SEPA-Identifiers like SVWZ+, I have to do some splitting anyway...
I would argue that the FinTex library should provide the transaction purpose as a joined string (and not as a raw list of lines), because there is no additonal value in delivering the raw lines. In other words: In almost all use cases the raw lines would be joined by the user of the FinTex library anyway.
Let’s look at this example, taken from a sepa_snippet.sta
test case:
?20EREF+EndToEndId TFNR 22 004?21 00001?22SVWZ+Verw CTSc-01 BC-PPP TF?23Nr 22 004
When trying to filter out SEPA identifiers (such as SVWZ+
), how would the raw lines help you here compared to a joined string?
[
"EREF+EndToEndId TFNR 22 004",
" 00001",
"SVWZ+Verw CTSc-01 BC-PPP TF",
"Nr 22 004"
]
from fintex.
I had a closer look at same real-life purposes (and not only at the test cases of this project).
Admittedly, in some cases the raw list of lines can be joined with a space and in other cases without a space. Unfortunately, I was not able to detect a consistent pattern because some banks split the purpose lines based on word boundaries and others based on max line length.
Thus, I suppose the most useful data this library can provide is a raw list of lines. The user of the FinTex library must decide if it makes sense to join the purpose lines or not.
from fintex.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fintex.