Closed mjpcger closed 3 years ago
Yes, I encountered it also several times in editors which support XML validation. But never found the time to correct it. It's a quite old issue.
But what do you think about correcting it itself and make a pull request? It is quite easy, I promise!
Just clone this repository and open it by prefixing its link by "https://gitpod.io/#", e.g https://github.com/mjpcger/javapos-config-loader. This will open a full blown web IDE (you may need to register first at gitpod.io for free) Then
git branch fix-issue-3
git checkout fix-issue-3
git add jcl.dtd
git commit -m "your commit text" jcl.dtd
git push origin fix-issue-3
For the git add/commit/push actions there are also GUI versions if you select the "Souce Control:Git" tab on the left and the according menus under the tree dots at the right upper corner in this tab.
That's all...
I do not understand what you mean. If I clone javapos-config-loader, it's on my local disk, not somewhere in https://github.com/mjpcger. For what do I need gitpod.io? I can make a branch via the web interface, change and commit jcl.dtd via the web interface or via GitHub Desktop. I didn't make any push origin request before, but I think this should be an easy step when I made the steps I decribed before?
Did it somehow, hopefully as desired.
The typical workflow at GitHub is as follows, first you fork the repository you want to contribute to on GitHub. (I said "clone", but I meant "fork". Maybe, this confused you. Sorry for that.)
You did this already: https://github.com/mjpcger/javapos-config-loader
Now you clone your repository to your local dev environment (typical your local machine).
With gitpod.io you do not need this cloning step. The cloning is done automatically when opening the gitpod-io prefixed URL: https://gitpod.io/#https://github.com/mjpcger/javapos-config-loader
With that URL you get a full blown Web IDE which is quite similar to a local VS Code IDE. The whole setup is already done by project maintainer and one can start coding immediately. -- Zero friction coding. It's infrastructure as code...
So, gitpod.io makes contributing to open source quite easy. And, gitpod.io is free for open source projects (until 100 hourse per month per user, what is almost enough.)
Solved with PR #4. Waiting for #5 to be solved before integrating it into a release.
Several device classes are missing in jcl.dtd. Not critical, but ugly effects when looking at jpos.xml in editor (Devices of missing classes will be marked as erroneously). Here the list of missing device classes: Belt, BillAcceptor, BillDispenser, CoinAcceptor, ElectronicValueRW, Gate, ImageScanner, ItemDispenser, Lights, RFIDScanner Here an updated version, please add to next revision. jcl.zip