Apache Xerces

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.

Apache Xerces
Developer(s)Apache Software Foundation
Stable release
2.12.0 (Xerces J)
3.2.2 (Xerces C++) / 30 April 2018 (Xerces J)
20 September 2018 (Xerces C++)
Operating systemCross-platform
TypeXML parser library
LicenseApache License 2.0
Websitexerces.apache.org

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:

  • 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]
Language Release Date Version
Java2018-04-302.12.0
C++2018-09-193.2.2
Perl2014-04-302.7.0

Features

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

FeatureJava[3]C++[4]Perl
eXtensible Markup Language (XML) 1.0 Fourth Edition RecommendationYesPartialPartial
eXtensible Markup Language (XML) 1.1 Second Edition RecommendationYesPartialPartial
Namespaces in XML 1.1 Second Edition RecommendationYesPartialPartial
Namespaces in XML 1.0 Second Edition RecommendationYesPartialPartial
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

References

  1. Benz, Brian; Durant, John (2004). XML Programming Bible. John Wiley & Sons. 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.
  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.
  3. "Features". xerces.apache.org. Retrieved 2019-12-08.
  4. "Features". xerces.apache.org. Retrieved 2019-12-08.

Notes

  • ^ Implemented third edition.
  • ^ Implemented second edition. Section 2.13 Normalization Checking has not been implemented.
  • ^ Implemented first edition.
  • ^ Implemented first edition.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.