Jump to content

Apache Xerces

From Niidae Wiki
Revision as of 19:06, 22 January 2023 by imported>Elharo (Xerces language versions: Remove inaccurate, pointless statement not actually supported by the references)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Infobox software 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).<ref> Template:Cite book </ref>

Xerces language versions

[edit]

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.<ref>Template:Cite web</ref>
Language Release Date Version
Java 2022-01-24 2.12.2
C++ 2020-04-10 3.2.3
Perl 2014-04-30 2.7.0

Features

[edit]

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

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

See also

[edit]

References

[edit]

Template:Reflist

Notes

[edit]
[edit]

Template:Apache Software Foundation