delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/12/05:05:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41948A85.5050001@mailshelter.de>
Date: Fri, 12 Nov 2004 11:03:49 +0100
From: Patrick Eisenacher <eisenacher AT mailshelter DOT de>
MIME-Version: 1.0
To: Marcel Telka <marcel AT telka DOT sk>
CC: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
References: <200411080222 DOT iA82MGa03240 AT esds DOT vss DOT fsi DOT com> <419363E2 DOT 30707 AT mailshelter DOT de> <20041111201600 DOT GB5956 AT tortuga DOT telka DOT sk>
In-Reply-To: <20041111201600.GB5956@tortuga.telka.sk>
User-Agent: KMail/1.5.9
X-Complaints-To: abuse AT mailshelter DOT de

--------------050602060203040000000300
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi Marcel,

Marcel Telka schrieb:
>>Since I expected problems with my /etc/xml/catalog file, I kept an eye 
>>on it. And indeed it got corrupted by the update. Here is what happened:
>>
>>- the new publicId was inserted ok
>>- the location of the DTD was updated ok
>>- existing entries were not altered
> 
> 
> What are the "existing entries"?

All other catalog elements except for the group elements.

> 
>>BUT:
>>- all group definitions were lost
>>- all identation was lost
> 
> 
> Please provide an example of the problematic /etc/xml/catalog file.

I attached two catalogs. The first one was my original xml catalog
before the update. The latter one is the one after the update. Note: I
reconstructed the latter one from memory, so order of elements could
vary, but it shows the problems I reported.

>>I use group definitions to set a common xml:base for all group elements. 
>>As a result, the paths of every former group element got corrupted.
>>
>>Can you please fix the catalog updating script?

Thanks,
Patrick




--------------050602060203040000000300
Content-Type: text/plain;
 name="catalog_before_updating.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="catalog_before_updating.txt"

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

    <group xml:base="file:///usr/share/">
        <rewriteSystem
            systemIdStartString="http://db2latex.sourceforge.net/xsl/"
            rewritePrefix="db2latex-xsl-0.8pre1/xsl/"/>
            <rewriteSystem
                systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
                rewritePrefix="docbook-xml42/"/>
            <rewriteURI
                uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
                rewritePrefix="docbook-xsl/"/>
    </group>

    <group xml:base="file:///cygdrive/e/Entwicklung/Hedwig/">
        <uri
            name="html.titlepage.templates.xsl"
            uri="Object/html.titlepage.templates.xsl"/>
    </group>

</catalog>


--------------050602060203040000000300
Content-Type: text/plain;
 name="catalog_after_updating.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="catalog_after_updating.txt"

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/"/>
  <rewriteSystem systemIdStartString="http://db2latex.sourceforge.net/xsl/" rewritePrefix="db2latex-xsl-0.8pre1/xsl/"/>
  <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/" rewritePrefix="xml/docbook/4.2/"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="docbook-xsl/"/>
  <uri name="securitects.html.titlepage.templates.xsl" uri="Object/securitects.html.titlepage.templates.xsl"/>
</catalog>



--------------050602060203040000000300
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------050602060203040000000300--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019