pkg.soopen package index

brew / rank 716

Install xerces-c with Homebrew, apk, dnf, pacman, zypper, apt

Validating XML parser. Version 3.3.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libxerces-c-dev.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xerces-c

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add xerces-c

Alpine Linux edge package indexes · xerces-c · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install xerces-c

Fedora Rawhide package metadata · xerces-c · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S xerces-c

Arch Linux sync databases · xerces-c · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install xerces-c

openSUSE Tumbleweed package metadata · xerces-c · source: download.opensuse.org

Debian aptverified · 92%
sudo apt install libxerces-c-dev

Debian stable package indexes · libxerces-c-dev · source: deb.debian.org

overview

Package summary

Validating XML parser

Commands and aliases

  • CreateDOMDocument
  • DOMCount
  • DOMPrint
  • EnumVal
  • PParse
  • PSVIWriter
  • Redirect
  • SAX2Count
  • SAX2Print
  • SAXCount
  • SAXPrint
  • SCMPrint
  • SEnumVal
  • StdInParse
  • XInclude

history

Project history and usage

Xerces-C++ is Apache Xerces' portable C++ validating XML parser library. It packages DOM, SAX, SAX2, XML Schema, namespace, XInclude, catalog, encoding, and validation machinery for C and C++ applications that need standards-oriented XML processing.

Project history

Apache's Xerces charter records that the code base forming both Xerces-Java and Xerces-C++ was donated to Apache by IBM in 1999. Xerces-C++ then matured as a subproject of the Apache XML Project before Apache Xerces became a top-level Apache Software Foundation project in late 2004.

The C++ distribution reflects the XML infrastructure era of the late 1990s and early 2000s: a shared parsing library, extensive sample programs, API documentation, and command-line utilities for counting, printing, validating, DOM traversal, schema component model inspection, and XInclude processing.

Modern Xerces-C++ remains important but more conservative. The project page identifies version 3.3.0, notes that older 2.8.0 and earlier releases are unsupported, and warns that the C++ project currently lacks active maintainers, which is important context for security-sensitive packagers.

Adoption history

Xerces-C++ was adopted wherever C++ applications needed a full XML parser with validation rather than a lightweight tokenizer: enterprise middleware, document-processing systems, XML-aware servers, schema-validating tools, and platform ports. Apache describes use cases including XML-savvy web servers, vertical applications using XML as a data format, on-the-fly validation for XML editors, e-business data integrity, and internationalized XML applications.

Its package-manager footprint is that of a development library rather than a single CLI. Distributions ship headers, a shared library, pkg-config metadata, and sample executables because downstream C++ packages link against Xerces-C++ to parse or validate XML in-process.

How it is used

Developers use Xerces-C++ through DOM, SAX, and SAX2 APIs to parse, generate, manipulate, and validate XML documents. The packaged sample tools are useful for smoke tests, examples, and direct XML inspection: commands such as DOMCount, DOMPrint, SAX2Count, SAX2Print, PParse, StdInParse, and XInclude expose library features from the shell.

For package maintainers, Xerces-C++ often appears as a transitive build and runtime dependency for software with XML configuration, metadata exchange, geospatial formats, document standards, or schema validation requirements.

Why package nerds care

Xerces-C++ is a classic example of infrastructure hiding in plain sight. A user may never type a Xerces command, but the installed library can be the XML engine behind larger applications, so ABI compatibility, headers, sample binaries, and security maintenance all matter.

It also captures a packaging lesson from mature standards libraries: old XML stacks do not disappear just because the hype moves on. They become quiet dependencies, and their maintainer status and supported release lines become part of responsible curation.

Timeline

  • 1999: IBM donates the code base that becomes the foundation for Xerces-Java and Xerces-C++.
  • Late 2004: Apache Xerces becomes a top-level Apache Software Foundation project.
  • 2009-2010: The 3.1.0 release archive records active schema, portability, performance, and API maintenance work.
  • 2020s: Apache documents Xerces-C++ 3.3.0, unsupported old 2.x releases, and lack of active maintainers.

Related projects

  • Xerces-Java is the Java parser from the same Apache Xerces family.
  • Xerces-Perl is the Perl parser subproject that followed after the C++ community matured.
  • Apache Xalan is a related XML transformation project often seen near Xerces in older XML stacks.
  • libxml2 is a common C-library alternative for XML parsing and validation.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
CreateDOMDocumentexecutableindexed executableDiscovered from the local executable index.
DOMCountexecutableindexed executableDiscovered from the local executable index.
DOMPrintexecutableindexed executableDiscovered from the local executable index.
EnumValexecutableindexed executableDiscovered from the local executable index.
PParseexecutableindexed executableDiscovered from the local executable index.
PSVIWriterexecutableindexed executableDiscovered from the local executable index.
Redirectexecutableindexed executableDiscovered from the local executable index.
SAX2Countexecutableindexed executableDiscovered from the local executable index.
SAX2Printexecutableindexed executableDiscovered from the local executable index.
SAXCountexecutableindexed executableDiscovered from the local executable index.
SAXPrintexecutableindexed executableDiscovered from the local executable index.
SCMPrintexecutableindexed executableDiscovered from the local executable index.
SEnumValexecutableindexed executableDiscovered from the local executable index.
StdInParseexecutableindexed executableDiscovered from the local executable index.
XIncludeexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version3.3.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:xerces-c
Version3.3.0
Package managerHomebrew
Homepagehttps://xerces.apache.org/xerces-c/
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libxerces-c-dev 3.2.4+debian-1.3+b2

validating XML parser library for C++ (development files)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: xerces-c
  • 4 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Xerces C
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxerces-c-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxerces-c-doc 3.2.4+debian-1.3

validating XML parser library for C++ (documentation)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-doc
  • Section: doc
  • Architecture: all
  • Source Package: xerces-c
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Xerces C
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxerces-c-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxerces-c-samples 3.2.4+debian-1.3+b2

validating XML parser library for C++ (compiled samples)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-samples
  • Section: devel
  • Architecture: amd64
  • Source Package: xerces-c
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxerces-c-samples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxerces-c3.2t64 3.2.4+debian-1.3+b2

validating XML parser library for C++

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c3.2t64
  • Section: libs
  • Architecture: amd64
  • Source Package: xerces-c
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxerces-c3.2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libxerces-c-dev 3.2.4+debian-1.2ubuntu2

validating XML parser library for C++ (development files)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: xerces-c
  • 4 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Xerces C
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxerces-c-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libxerces-c-doc 3.2.4+debian-1.2ubuntu2

validating XML parser library for C++ (documentation)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: xerces-c
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Xerces C
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxerces-c-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libxerces-c-samples 3.2.4+debian-1.2ubuntu2

validating XML parser library for C++ (compiled samples)

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c-samples
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: xerces-c
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxerces-c-samples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libxerces-c3.2t64 3.2.4+debian-1.2ubuntu2

validating XML parser library for C++

https://xerces.apache.org/xerces-c/

sudo apt install libxerces-c3.2t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: xerces-c
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxerces-c3.2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xerces-c 3.2.5-r4

A validating XML parser written in a portable subset of C++

https://xerces.apache.org/index.html

sudo apk add xerces-c
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xerces-c
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xerces-c from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xerces-c-dev 3.2.5-r4

A validating XML parser written in a portable subset of C++ (development files)

https://xerces.apache.org/index.html

sudo apk add xerces-c-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xerces-c
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xerces-c-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xerces-c-doc 3.2.5-r4

A validating XML parser written in a portable subset of C++ (documentation)

https://xerces.apache.org/index.html

sudo apk add xerces-c-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xerces-c
  • normalized package name match
  • Matched by: Xerces C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xerces-c-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xerces-c-samples 3.2.5-r4

A validating XML parser written in a portable subset of C++ (compiled samples)

https://xerces.apache.org/index.html

sudo apk add xerces-c-samples
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xerces-c
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xerces C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xerces-c-samples from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

mingw32-xerces-c 3.3.0-10.fc45

MingGW x86 Windows validating XML parser

https://xerces.apache.org/xerces-c/

sudo dnf install mingw32-xerces-c
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: xerces-c
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Xerces C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mingw32-xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mingw64-xerces-c 3.3.0-10.fc45

MingGW x64 Windows validating XML parser

https://xerces.apache.org/xerces-c/

sudo dnf install mingw64-xerces-c
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: xerces-c
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Xerces C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mingw64-xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

xerces-c 3.3.0-10.fc45

Validating XML Parser

https://xerces.apache.org/xerces-c/

sudo dnf install xerces-c
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: xerces-c
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Xerces C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

xerces-c-devel 3.3.0-10.fc45

Header files, libraries and development documentation for xerces-c

https://xerces.apache.org/xerces-c/

sudo dnf install xerces-c-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: xerces-c
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Xerces C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xerces-c-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation