Apache Xerces Explained

Apache Xerces
Developer:Apache Software Foundation
Latest Release Version:2.12.2 (Xerces J)
3.2.3 (Xerces C++)
Latest Release Date:24 January 2022 (Xerces J)
10 April 2020 (Xerces C++)
Operating System:Cross-platform
Genre:XML parser library
License:Apache License 2.0

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).[1]

Xerces language versions

There are several language versions of the Xerces parser:

width=60Languagewidth=110Release Datewidth=60Version
Java2022-01-242.12.2
C++2020-04-103.2.3
Perl2014-04-302.7.0

Features

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

Feature Java[3] C++[4] 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
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

Notes

External links

Notes and References

  1. Book: Benz. Brian. Durant. John . XML Programming Bible. 7 May 2004. John Wiley & Sons. 2004. 87. 9780764555763. 2014-10-01. Apparently, the parser was named after the now extinct Xerces blue butterfly, a native of the San Francisco peninsula..
  2. Web site: Apache Xerces Perl. xerces.apache.org. 2019-12-08. XML::Xerces is the Perl API to the Apache project's Xerces XML parser. It is implemented using the Xerces C++ API, and it provides access to most of the C++ API from Perl..
  3. Web site: Features. xerces.apache.org. 2019-12-08.
  4. Web site: Features. xerces.apache.org. 2019-12-08.