[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TEI -biting the bullet



On Sat, Mar 06, 2004 at 08:42:09AM -0500, Syd Bauman wrote:

> > There seem to be a few different options .. 
> 
> Only four I'd recommend, two each in each of the categories "local"
> and "remote":
> R1)   http://www.tei-c.org/Guidelines/DTD/tei2.dtd
> R2)   http://www.tei-c.org/P4X/DTD/tei2.dtd
> LA)   /usr/share/xml/tei/p4/schema/dtd/tei2.dtd
> LR)   [correct relative path to LA]
> 
> Local vs. remote:
> While R2 has the advantage of being the canonical location, there are
> some potential disadvantages:
> * not useful when you're off the net

XML Catalogs can remap the URL to a local file, so the 'net issue
isn't really an issue. 


> On catalogs -- Mark, I apologize for not having read the draft XML
> policy yet,

No problem. It still needs quite a bit of cleanup/clarification, anyway.

> but perhaps you can quickly clarify. If someone wants to
> create a Debian package that is TEI-based and thus depends on the TEI
> P4 package, and wants a bunch of FPIs in a catalog, is the package
> installation expected to alter /etc/xml/tei-p4.xml?

Nope. The /etc/xml/tei-p4.xml catalog is written once, at installation, based on
config info in the maintainer (postinst, etc.) scripts.

That catalog file shouldn't be touched by any other packages, so not to worry.

Each package gets its own 'Package Catalog', named /etc/xml/$package.xml, to which
lookups in the Root Catalog /etc/xml/catalog are delegated. That's how it's supposed
to work, anyway. (There's some redundancy in this model for packages that have a 
single XML catalog: they could delegate right from the Root Catalog to the Local 
Catalog. A few of us hashed this over and chose consistency over redundancy. FYI.)

Cheers,
Mark
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-sgml-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
-------------------------------------
Mark Johnson        <mark@dulug.duke.edu>
Debian XML/SGML     <mrj@debian.org>
Home Page:          <http://dulug.duke.edu/~mark/>
GPG fp: DBEA FA3C C46A 70B5 F120  568B 89D5 4F61 C07D E242



Reply to: