[relaxng-user] Re: association of RELAX NG with a document

Steinar Bang sb at dod.no
Fri Oct 24 20:17:42 ICT 2003


>>>>> Daniel Veillard <veillard at redhat.com>:

> Hum, that's a place where I would expect the XML Catalogs to take a
> role in abstracting the file paths. I would still recommend to use a
> canonical URL (is there one for relaxng.rnc one http://relaxng.org
> ?)  and have the catalogs remap to the actual file location. This
> was really important as we deployed DocBook processing tools on the
> various Linux distributions (and Solaris), I would like to be able
> to do the same as I'm starting to push Relax-NG schemas (DocBook,
> XHTML1, SVG are good candidate, as well as the RNG for RNG schema).
> It's less critical than when the reference ends up in the instance,
> but would still helps a lot for system setup, tools setup and
> documentation.

One way of doing this would be to have a similar approach to what's
done with XML Catalogs on the different linuxen.  Ie. have an
/etc/xml/locator file in addition to the /etc/xml/catalog files, and
have the RPMs, or deb packages, for different schemas, add and remove
entries from this file.

Of course, this would require a tool like your "xmlcatalog" program,
and/or a hierarchical structure like that adopted by the debian
SGML/XML policy
	http://people.debian.org/~mrj/xml-sgml-policy/debian-policy/

(...and it would also require all linux distros to adopt this format,
which sort of overlaps with XML Catalogs, just as they have all
started to use XML Catalogs...)



More information about the relaxng-user mailing list