Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5819 closed defect (fixed)

NEW: textproc/xmlcatmgr-2.2

Reported by: murray@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


XML Catalog Manager (xmlcatmgr in its short form) is a small utility used to manipulate SGML and XML catalogs. It is extremely small and lightweight, specially designed to be run from packaging systems. Basically, it allows adding and removing entries from catalogs in a completely automated way.

A catalog is a lookup mechanism used to translate entities into other different entities. They can, for example, map public identifiers to local files or URIs.

This allows you to tell the parser where to look for entities without having to

modify the original document source.

A catalog manager such as xmlcatmgr or mkcatalog should be called automatically by the install scripts of SGML DTDs such as linux-doc or the recently submitted HTML darwinport. This package is not a requirement for those, but will make them much easier to use.

mkcatalog already exists in the DarwinPorts tree, but it does not seem to be used automatically by the DarwinPorts system for DTD ports. FreeBSD switched to xmlcatmgr in 2003, and the utility was originally written for the NetBSD pkgsrc system.

With a catalog manager in darwinports, and tweaks to DTD portfiles to use it, it should eventually be possible for SGML DTDs to be installed and for SGML tools to automatically know which DTDs are available and how to validate documents with them. Right now, that is a very painful process on Darwin.

Change History (1)

comment:1 Changed 15 years ago by matt@…

Resolution: fixed
Status: newclosed

The xmlcatmgr port already exists and is maintained by mww@ (Markus Weissmann). Closing the bug.

Note: See TracTickets for help on using tickets.