Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 00:05:28 +0400
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        Joe Marcus Clarke <freebsd-ports@FreeBSD.ORG>
Subject:   Re[6]: ports/39504: textproc/libxml2 & invalid XML catalogs in /usr/local/share/xml/*
Message-ID:  <64748562.20020620000528@serebryakov.spb.ru>
In-Reply-To: <1024514714.483.39.camel@gyros.marcuscom.com>
References:  <200206191150.g5JBo3D77448@freefall.freebsd.org> <1024503022.483.6.camel@gyros.marcuscom.com> <52168969015.20020619222609@serebryakov.spb.ru> <1024513086.483.35.camel@gyros.marcuscom.com> <1961830500.20020619231650@serebryakov.spb.ru> <1024514714.483.39.camel@gyros.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Joe!
Wednesday, June 19, 2002, 11:25:14 PM, you wrote:

>> >> JMC> Take a look at what I've done for textproc/scrollkeeper.  This builds
>> >> JMC> the XML catalog dynamically, such that libxml2 works the way it should. 
>> >> JMC> Perhaps the docbook ports should be updated to use the build catalog
>> >> JMC> script in scrollkeeper rather than the old mkcatalog.
>> >>   But scrollkeeper is TOO strict dependicy -- many people may want to
>> >>   install docbook-xml, xhtml and other XML collections WITHOUT
>> >>   scrollkeeper/libxml2/other gnome stuff -- for Saxon, for example.
>> >>   And it is not good idea to force them have libxml2 installed.
>> JMC> I think you're missing what I'm referring to.  Have a look at
>> JMC> scrollkeeper's pkg-install script (PRE-INSTALL target).  This builds a
>> JMC> XML catalog for all DTDs on the system.  If we use this for ports like
>> JMC> docbook, that should create proper catalogs.
>>   I see. But this script uses `xmlcatalog' from libxml2. So, we could
>>   not use this script for docbook & other, because they could be
>>   installed WITHOUT libxml2 (scrollkeeper needs libxml2 in ANY case
>>   and could not be compiled without it, but docbook & Ko could be used
>>   without libxml2).
JMC> I see what you're saying.  I look forward to your catalog patches.
  I have two problems:
   (1) How should I name system XML catalog? I prfere
       ${LOCALBASE}/share/xml/catalog, because it is default XML catalog
       for libxml2 (my favorite), but this one used for SGML-style
       catalog
   (2) How should I add ``delegate'' records to systen XML catalog --
       I could write simple perl script (error-prone, of course, but
       without any modules), but -CURRENT system doesn't have perl now
       :(

               Lev Serebryakov
/-----------------------------------------------\
| FIDONet: 2:5030/661.0                         |
| E-Mail:  lev@serebryakov.spb.ru               |
| Page:    http://lev.serebryakov.spb.ru/       |
| ICQ UIN: 3670018                              |
| Phone:   You know, if you have world nodelist |
\===============================================/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64748562.20020620000528>