Re: Class XMLSchema11Factory not found

Xavi Arias Seguí <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <CAPyxh5Z9m4fF_P45igXiJMTuRnizSDfA9VFq1V5XhRAA_LLxZQ@mail.gmail.com>
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í <[email protected]>

> 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.
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.