>>>>> On Sat, 16 Aug 2003 17:22:15 -0500, Ardo van Rangelrooij <[EMAIL PROTECTED]> 
>>>>> said:

 Ardo> James LewisMoss ([EMAIL PROTECTED]) wrote:
 >> Is this the email you lost?
 >>
 >> Jim

 Ardo> Yes, thank you.

 Ardo> See reply within.

 >> From: James LewisMoss <[EMAIL PROTECTED]>
 Ardo> [snip]
 >>
 >> Bugs:
 >> 1) Directory /var/lib/xml-core is not included in package.

 Ardo> That's true.  It's created in the preinst and removed in the
 Ardo> postrm.  Anything wrong with that.  I didn't really find
 Ardo> anything about this in the policy doc or the developers
 Ardo> reference.  But if there's some de-facto approach for this let
 Ardo> me know.  I'm more than happy to comply.

Ah missed that sorry.  Then the directory wasn't created as it should
have been.  Sorry don't know the cause.

 >> 2) postinst script is not idempotent.

 Ardo> I don't understand.  Installing the package multiple times
 Ardo> works for me, or is that not what you meant?  What's the error
 Ardo> you're getting?

If the postinst script errors out in the middle after adding some
entries, but without completing it'll continue to error from that
point on because the update-xmlcatalog script will error trying to add
a duplicate entry.

 >> 3) Don't see a way to add a <nextCatalog> entry to the
 >> /etc/xml/catalog file using update-xmlcatalog.

 Ardo> That's true.  That is (also per to-be-updated Debian XML
 Ardo> policy) not (yet) a supported feature.  I uploaded the package
 Ardo> to unstable, so please file a wishlist when it's official
 Ardo> available.

This seems to me to be a really important feature.  In fact after
xml-core did its work I went after it and did

for i in `locate catalog.xml | grep '^\/usr\/share' ; do
        xmlcatalog --add nextCatalog $i --noout /etc/xml/catalog
done

To get the entries I had before (I had manually created a catalog to
make xmllint happy).

Jim

-- 
@James LewisMoss <[EMAIL PROTECTED]>      |  Blessed Be!
@    http://people.debian.org/~dres     |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to