Sorry the last email was not finished. Te correct Maven dependency is:
<dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.11.0</version> <scope>runtime</scope> </dependency> And the code I use to obtain the Schema Factory is: System.setProperty("javax.xml.validation.SchemaFactory: http://www.w3.org/XML/XMLSchema/v1.1", "org.apache.xerces.jaxp.validation.XMLSchema11Factory"); SchemaFactory sf = SchemaFactory.newInstance(" http://www.w3.org/XML/XMLSchema/v1.1"); Any ideaus on how to make this work? The class org.apache.xerces.jaxp.validation.XMLSchema11Factory should not be in the Maven JAR ? Thanks, Xavier 2013/12/23 Xavi Arias Seguí <xavi.arias.se...@gmail.com> > Hello, > > The class org.apache.xerces.jaxp.validation.XMLSchema11Factory is not in > the Maven JAR after adding the dependency: > > <dependency> > <groupId>xerces</groupId> > <artifactId>xercesImpl</artifactId> > <version>2.11.0-SNAPSHOT</version> > <scope>runtime</scope> > </dependency> > > Normally it should be somewhere in order to obtain a XML Schema 1.1. > >