impetus-opensource/Kundera — pull request #574 by Restage (2014-04-15 13:19:07+00:00)
Title: Adding support for persistence.xml descriptor version 2.1

I've changed the PersistenceXMLLoader to be able to handle version="2.1" of the persistence.xml descriptor.

The code that reads the persistence.xml into an object and verifies it against the target schema has been rewritten to be more generic. You can now add a new schema by just putting it's xsd schema file into the classpath. The validate method than looks into the persistence.xml file and reads the version attribute to determine which xsd to use.