Validating XML against XSD

Recently I got a question from one of our customers: how do we validate XMLs against their XSD definition? Because we offer an XML based interface to our system, where the customers have to provide the XML data which we read into the system — and naturally we give an Exception if the provided XML does not match our expectations (which is defined in the XSD naturally).

So we suggested some on-line resources where you can put in the XML and XSD and validate them and we mentioned the capability of open source tools too. After a few days I got an answer that they are not able to validate our example XMLs against the provided Schema so I should give a better hint how we do that. And this is why I created a simple Java application which takes some parameters and validates the XML against the XSD. After this, I looked up what could be done in this topic with Python.

Continue reading

Gaming with Git

http://pcottle.github.io/learnGitBranching/

Newly I came across this funny game which is a great tutorial for learning GIT. I can only encourage everyone who is new to GIT or has some project members who are new to GIT to try this app. Play with it a few hours (eventually reserve your (wo)men time in your planning).

Fun-fun-fun 🙂