<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <!-- This is just a copy of the pom from org.exist-db.thirdparty.xerces:xercesImpl:2.12.1 with a bumped version and fixes to the dependencies.
        To full enable Schema 1.1 support you should also include the `java-cup` and `xpath2` dependencies in
        your projects POM as `<scope>runtime</scope>`.
    -->

    <name>Xerces2-j</name>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.evolvedbinary.thirdparty.xerces</groupId>
    <artifactId>xercesImpl</artifactId>
    <version>2.12.2.2</version>
    <description>
        Xerces2 is the next generation of high performance, fully compliant XML parsers in the Apache Xerces family.
        This new version of Xerces introduces the Xerces Native Interface (XNI), a complete framework for building
        parser components and configurations that is extremely modular and easy to program. The Apache Xerces2 parser is
        the reference implementation of XNI but other parser components, configurations, and parsers can be written
        using the Xerces Native Interface. For complete design and implementation documents, refer to the XNI Manual.
        Xerces2 is a fully conforming XML Schema 1.0 processor. A partial experimental implementation of the XML Schema
        1.1 Structures and Datatypes Working Drafts (December 2009) and an experimental implementation of the XML Schema
        Definition Language (XSD): Component Designators (SCD) Candidate Recommendation (January 2010) are provided for
        evaluation. For more information, refer to the XML Schema page. Xerces2 also provides a complete implementation
        of the Document Object Model Level 3 Core and Load/Save W3C Recommendations and provides a complete
        implementation of the XML Inclusions (XInclude) W3C Recommendation. It also provides support for OASIS XML
        Catalogs v1.1. Xerces2 is able to parse documents written according to the XML 1.1 Recommendation, except that
        it does not yet provide an option to enable normalization checking as described in section 2.13 of this
        specification. It also handles namespaces according to the XML Namespaces 1.1 Recommendation, and will correctly
        serialize XML 1.1 documents if the DOM level 3 load/save APIs are in use.
    </description>
    <url>https://xerces.apache.org/xerces2-j/</url>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <scm>
        <url>https://svn.apache.org/repos/asf/xerces/java/</url>
        <connection>
            https://svn.apache.org/repos/asf/xerces/java/tags/Xerces-J_2_12_2/
        </connection>
    </scm>

    <dependencies>
        <dependency>
            <groupId>com.evolvedbinary.thirdparty.xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>1.4.02</version>
        </dependency>
        <dependency>
            <groupId>xml-resolver</groupId>
            <artifactId>xml-resolver</artifactId>
            <version>1.2</version>
            <optional>true</optional>
        </dependency>


        <!-- dependencies below are needed for Schema 1.1 support -->

        <dependency>
            <groupId>edu.princeton.cup</groupId>
            <artifactId>java-cup</artifactId>
            <version>10k</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>com.evolvedbinary.thirdparty.org.eclipse.wst.xml</groupId>
            <artifactId>xpath2</artifactId>
            <version>1.2.1.1</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>

    </dependencies>

    <developers>
        <developer>
            <id>xerces</id>
            <name>Apache Software Foundation</name>
            <email>j-dev@xerces.apache.org</email>
            <url>http://www.apache.org</url>
            <organization>Apache Software Foundation</organization>
            <organizationUrl>http://www.apache.org</organizationUrl>
        </developer>
    </developers>
</project>
