Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, pacman, zypper, apt 安装 xerces-c

查看 xerces-c 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xerces-c

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xerces-c

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

Fedora dnf已验证 · 92%
sudo dnf install xerces-c

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

Arch Linux pacman已验证 · 92%
sudo pacman -S xerces-c

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

openSUSE zypper已验证 · 92%
sudo zypper install xerces-c

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

Debian apt已验证 · 92%
sudo apt install libxerces-c-dev

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

概览

软件包摘要

Validating XML parser

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
CreateDOMDocumentcli全局可执行文件
DOMCountcli全局可执行文件
DOMPrintcli全局可执行文件
EnumValcli全局可执行文件
PParsecli全局可执行文件
PSVIWritercli全局可执行文件
Redirectcli全局可执行文件
SAX2Countcli全局可执行文件
SAX2Printcli全局可执行文件
SAXCountcli全局可执行文件
SAXPrintcli全局可执行文件
SCMPrintcli全局可执行文件
SEnumValcli全局可执行文件
StdInParsecli全局可执行文件
XIncludecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.3.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://xerces.apache.org/xerces-c/none 置信度

安装元数据

软件包元数据

软件包键brew:xerces-c
版本3.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xerces-c
主页https://xerces.apache.org/xerces-c/
仓库https://github.com/apache/xerces-c
上游文档https://xerces.apache.org/xerces-c
许可证Apache-2.0
源码归档https://www.apache.org/dyn/closer.lua?path=xerces/c/3/sources/xerces-c-3.3.0.tar.gz
构建依赖cmake
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexerces-c
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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-9.fc44

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mingw64-xerces-c 3.3.0-9.fc44

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

xerces-c 3.3.0-9.fc44

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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

xerces-c-devel 3.3.0-9.fc44

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment