Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix 安装 xml2rfc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xml2rfc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xml2rfc

MacPorts ports tree · textproc/xml2rfc/Portfile · 来源: api.github.com

概览

软件包摘要

Tool to convert XML RFC7749 to the original ASCII or the new HTML look-and-feel

命令和别名

  • xml2rfc

历史

项目历史与用法

xml2rfc is the IETF tool that turns RFCXML source into Internet-Draft and RFC renderings. It began as part of the RFC 2629 XML authoring workflow and is now central to the modern RFCXML toolchain for validating, preparing, and rendering IETF documents.

项目历史

The roots are in RFC 2629, published in June 1999 by Marshall Rose, which presented XML as a source format for Internet-Drafts and RFCs and described the author's xml2rfc tool for producing text and HTML output. Early documentation also described an xml.resource.org web service and downloadable tool.

The vocabulary evolved from RFC 2629 v1 into v2, documented by RFC 7749 in February 2016 as the state of the vocabulary used by several tools and the RFC Editor around 2014. In December 2016, RFC 7991 documented the v3 vocabulary, though current author guidance says the live vocabulary reference on authors.ietf.org is authoritative because the schema changed after RFC 7991.

The modern repository under the ietf-tools GitHub organization was created on 2022-02-05. Its README describes xml2rfc as generating RFCs and IETF drafts from XML source according to the v2 and v3 vocabularies, with output formats, v2-to-v3 conversion, and preptool support.

The tool has become both a Python package and a containerized command-line utility. The README documents pip, pipx, PDF extras, WeasyPrint support, fonts for PDF generation, and GitHub Container Registry images such as xml2rfc-slim, xml2rfc-base, and xml2rfc-dev.

采用历史

xml2rfc's adoption is tied to IETF process rather than ordinary application popularity. Author guidance says RFCXML is the preferred format for Internet-Drafts and the canonical format for published RFCs since RFC 8650 in November 2019, making xml2rfc part of the document supply chain for standards work.

The IETF author resources describe xml2rfc as the core tool for validating and transforming RFCXML files, and the main tool used behind the scenes in the Author Tools web service. The Datatracker submission guidance says Internet-Draft submission validates documents using xml2rfc, id2xml, and idnits as appropriate.

The wider authoring ecosystem often feeds xml2rfc rather than replacing it. The IETF tools catalog lists Markdown, AsciiDoc, LyX, nroff, and other converters that generate RFCXML and then rely on xml2rfc for rendering, validation, or publication-ready output.

使用方式

Typical direct use is `xml2rfc SOURCE [options] FORMATS...`, producing plaintext, HTML, PDF, EPUB, nroff for v2 input, or expanded/prepared XML depending on options. It can also convert legacy v2 XML to v3 and run the preptool step defined for the publication pipeline.

In author workflows, xml2rfc may be run locally from pip or pipx, inside CI through containers, or indirectly through the IETF Author Tools web service and Datatracker validation. Its inputs are RFCXML documents governed by the v2 or v3 vocabularies.

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

xml2rfc is package-nerd important because it is a CLI package that encodes institutional publishing rules. Installing it is not merely installing a converter; it gives authors a local copy of the formatter and validator that shadows IETF/RFC Editor production expectations.

It also shows how packaging supports standards work: Python wheels, native PDF support libraries, fonts, containers, generated schema docs, and web-service deployments all exist so the same document source can pass through personal laptops, CI, Datatracker, and RFC publication tooling.

时间线

  • 1999-06: RFC 2629 published, documenting XML as a source format and describing the original xml2rfc tool.
  • 2009-07-26: RFC Editor tutorial materials introduced xml2rfc as a tool for converting XML source into text, HTML, nroff, unpaginated text, or expanded XML.
  • 2016-02: RFC 7749 documented the xml2rfc version 2 vocabulary.
  • 2016-12: RFC 7991 documented the xml2rfc version 3 vocabulary.
  • 2019-11: RFCXML became the canonical format for published RFCs according to IETF author guidance.
  • 2022-02-05: ietf-tools/xml2rfc GitHub repository created.
  • 2026-06-03: xml2rfc v3.34.0 released.

Related projects

  • Related tools and formats include RFCXML, RFC 2629, RFC 7749, RFC 7991, RFC 7998 preptool, IETF Author Tools, Datatracker submission validation, id2xml, idnits, rfclint, kramdown-rfc, mmark, metanorma-ietf, lyx2rfc, rfcxml.xslt, WeasyPrint, and xml2rfc-fonts.

来源

安全态势

尚未找到受保护工具覆盖

没有找到 xml2rfc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xml2rfccli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://xml2rfc.tools.ietf.org/

安装元数据

软件包元数据

软件包键brew:xml2rfc
版本3.34.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xml2rfc
主页https://xml2rfc.tools.ietf.org/
仓库https://github.com/ietf-tools/xml2rfc
上游文档https://authors.ietf.org/rfcxml-overview
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/aa/c2/3f2420a11cac97c5e3ee3e04cc752f9018cf7ef97490e925498397a98aa1/xml2rfc-3.34.0.tar.gz
最后更新2026-06-05T04:25:26Z
Pulseupdated
依赖certifi, libyaml, python@3.14
macOS 提供的库libxml2, libxslt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

xml2rfc 3.23.0-1

XML-based formatting tool for RFCs

https://xml2rfc.tools.ietf.org/

sudo apt install xml2rfc
  • Section: non-free/text
  • Architecture: all
  • 13 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Xml2rfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xml2rfc from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz
Nix95%

xml2rfc

nix profile install nixpkgs#xml2rfc
  • normalized package name match
  • 匹配方式:Xml2rfc
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: xml2rfc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

xml2rfc 3.20.0-1

XML-based formatting tool for RFCs

https://xml2rfc.tools.ietf.org/

sudo apt install xml2rfc
  • Section: multiverse/text
  • Architecture: all
  • 14 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Xml2rfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xml2rfc from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
apk95%

xml2rfc 3.28.1-r4

tool for converting XML documents into internet drafts and RFCs

https://github.com/ietf-tools/xml2rfc

sudo apk add xml2rfc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xml2rfc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xml2rfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xml2rfc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

xml2rfc-pyc 3.28.1-r4

Precompiled Python bytecode for xml2rfc

https://github.com/ietf-tools/xml2rfc

sudo apk add xml2rfc-pyc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xml2rfc
  • 1 依赖
  • normalized package name match
  • 匹配方式:Xml2rfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xml2rfc-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

xml2rfc

sudo port install xml2rfc
  • normalized package name match
  • 匹配方式:Xml2rfc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/xml2rfc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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