Hello Xavi,

We do not upload our jars to Maven Central. Other members of the community 
have been doing that on the project's behalf. We cannot tell you whether 
your Maven dependency is correct since we did not set that up.

If you would like to use the XML Schema 1.1 support available in Xerces I 
would suggest that you download the official binaries (Apache Xerces-J 
2.11.0, XML Schema 1.1 - Beta) from here [1].

Thanks.

[1] http://xerces.apache.org/mirrors.cgi#binary

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

Xavi Arias Seguí <xavi.arias.se...@gmail.com> wrote on 12/23/2013 11:31:28 
AM:

> From: Xavi Arias Seguí <xavi.arias.se...@gmail.com>
> To: j-users@xerces.apache.org, 
> Date: 12/23/2013 02:32 PM
> Subject: Re: Class XMLSchema11Factory not found
> 
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to