In computing, Xerces is Apache's collection of software libraries for parsing, validating, serializing and manipulating XML. The library implements a number of standard APIs for XML parsing, including DOM, SAX and SAX2. The implementation is available in the Java, C++ and Perl programming languages.

The name "Xerces" is believed to commemorate the extinct Xerces blue butterfly (Glaucopsyche xerces).

Xerces language versions There are several language versions of the Xerces parser: Xerces2 Java, the Java reference implementation Xerces C++, a C++ implementation Xerces Perl, a Perl implementation. This implementation is a wrapper around the C++ API.

Language Release Date VersionJava2022-01-242.12.2C++2024-10-143.3.0Perl2014-04-302.7.0

Features The features supported by Xerces depend on the language, the Java version having the most features.

Feature Java C++ Perl eXtensible Markup Language (XML) 1.0 Fourth Edition Recommendation eXtensible Markup Language (XML) 1.1 Second Edition Recommendation Namespaces in XML 1.1 Second Edition Recommendation Namespaces in XML 1.0 Second Edition Recommendation XML Inclusions (XInclude) Version 1.0 Second Edition Recommendation Simple API for XML (SAX) Streaming API For XML (StAX) DOM Level 2 Core Specification DOM Level 2 Traversal and Range Specification Document Object Model (DOM) Level 3 Core, Load and Save Element Traversal Specification XML Schema 1.0 Structures and Datatypes XML Schema 1.1 Structures and Datatypes XML Schema Definition Language (XSD): Component Designators (SCD) Java APIs for XML Processing (JAXP) 1.4

See also Apache License Java XML Apache Xalan

References

Notes Implemented third edition. Implemented second edition. Section 2.13 Normalization Checking has not been implemented. Implemented first edition. Implemented first edition.

External links Apache Xerces Project home