Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Apache Xerces

In computing, Apache's Xerces is a set of software libraries designed for parsing, validating, and manipulating XML documents. It supports multiple standard APIs such as DOM and SAX, and is implemented in Java, C++, and Perl. The name "Xerces" honors the extinct Xerces blue butterfly (Glaucopsyche xerces), symbolizing its legacy in software development.

Related Image Collections Add Image
We don't have any YouTube videos related to Apache Xerces yet.
We don't have any PDF documents related to Apache Xerces yet.
We don't have any Books related to Apache Xerces yet.
We don't have any archived web articles related to Apache Xerces yet.

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.2
LanguageRelease DateVersion
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.

FeatureJava3C++4Perl
eXtensible Markup Language (XML) 1.0 Fourth Edition RecommendationYesPartial[1]Partial[2]
eXtensible Markup Language (XML) 1.1 Second Edition RecommendationYesPartial[3]Partial[4]
Namespaces in XML 1.1 Second Edition RecommendationYesPartial[5]Partial[6]
Namespaces in XML 1.0 Second Edition RecommendationYesPartial[7]Partial[8]
XML Inclusions (XInclude) Version 1.0 Second Edition RecommendationYesYesYes
Simple API for XML (SAX)YesYesYes
Streaming API For XML (StAX)YesNoNo
DOM Level 2 Core SpecificationYesYesYes
DOM Level 2 Traversal and Range SpecificationYesYesYes
Document Object Model (DOM) Level 3 Core, Load and SaveYesYesYes
Element Traversal SpecificationYesYesYes
XML Schema 1.0 Structures and DatatypesYesYesYes
XML Schema 1.1 Structures and DatatypesYesNoNo
XML Schema Definition Language (XSD): Component Designators (SCD)YesNoNo
Java APIs for XML Processing (JAXP) 1.4YesNoNo

See also

Notes

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

References

  1. Benz, Brian; Durant, John (7 May 2004). XML Programming Bible. John Wiley & Sons (published 2004). p. 87. ISBN 9780764555763. Retrieved 2014-10-01. Apparently, the parser was named after the now extinct Xerces blue butterfly, a native of the San Francisco peninsula. 9780764555763

  2. "Apache Xerces Perl". xerces.apache.org. Retrieved 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. https://xerces.apache.org/#xerces-p

  3. "Features". xerces.apache.org. Retrieved 2019-12-08. https://xerces.apache.org/xerces2-j/

  4. "Features". xerces.apache.org. Retrieved 2019-12-08. https://xerces.apache.org/xerces-c/