2004-05-24 01:13:05 +02:00
#!/bin/sh
# Install Expression XML catalogs the Debian way.
# See: http://debian-xml-sgml.alioth.debian.org/
#
# Note: All changes in this file must also be done on file
# debian/expression.xmlcatalogs
#
# Note: The XHTML 1.0 catalogs should really be defined in another package, for
# example xml-core.
2004-06-15 09:39:16 +02:00
PREFIX=/usr/local
2004-05-24 01:13:05 +02:00
# Add XHTML entities to package catalog (/etc/xml/expression.xml).
2004-06-15 09:39:16 +02:00
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Latin 1 for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Special for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Symbols for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml-" --local $PREFIX/share/xml/entities/expression/catalog.xml
2004-05-24 01:13:05 +02:00
# Add XHTML 1.0 DTDs to package catalog (/etc/xml/expression.xml).
2004-06-15 09:39:16 +02:00
update-xmlcatalog --add --package expression --type public --id "-//W3C//DTD XHTML 1.0 " --local $PREFIX/share/xml/schema/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml1-" --local $PREFIX/share/xml/schema/expression/catalog.xml
2004-05-24 01:13:05 +02:00
# Add XHTML package catalog to root XML catalog (/etc/xml/catalog).
# First: XHTML entities.
update-xmlcatalog --add --root --package expression --type public --id "-//W3C//ENTITIES Latin 1 for XHTML"
update-xmlcatalog --add --root --package expression --type public --id "-//W3C//ENTITIES Special for XHTML"
update-xmlcatalog --add --root --package expression --type public --id "-//W3C//ENTITIES Symbols for XHTML"
update-xmlcatalog --add --root --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml-"
# Next: XHTML 1.0 DTDs.
update-xmlcatalog --add --root --package expression --type public --id "-//W3C//DTD XHTML 1.0 "
update-xmlcatalog --add --root --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml1-"
2004-06-11 17:17:37 +02:00
# Add Expression XML descriptions to package catalog (/etc/xml/expression.xml).
2004-06-15 09:39:16 +02:00
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/descriptions/" --local $PREFIX/share/xml/misc/expression/catalog.xml
2004-06-11 17:17:37 +02:00
# Add Expression XML schemas to package catalog (/etc/xml/expression.xml).
2004-06-15 09:39:16 +02:00
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/schemas/" --local $PREFIX/share/xml/schema/expression/catalog.xml
2004-06-11 17:17:37 +02:00
# Add Expression package catalog to root XML catalog (/etc/xml/catalog).
update-xmlcatalog --add --root --package expression --type system --id "http://www.entrouvert.org/expression/"