Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
Gerrit P. Haase schrieb: Patrick Eisenacher wrote: 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: - all group definitions were lost - all identation was lost If I run the command from the postinstallscript of $ cygcheck -c docbook-xml42 Cygwin Package Information Package VersionStatus docbook-xml424.2-2 OK with libxml2: $ cygcheck -c libxml2 Cygwin Package Information Package VersionStatus libxml2 2.6.13-1 OK It works ok: ?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 id= 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=/usr/share/docbook-xml42// rewriteURI uriStartString=http://docbook.sourceforge.net/release/xsl/current/; rewritePrefix=docbook-xsl// /group group id= xml:base=file:///cygdrive/e/Entwicklung/Hedwig/ uri name=html.titlepage.templates.xsl uri=Object/html.titlepage.templates.xsl/ /group /catalog What version of libxml2 do you have installed? What is the content of the 4.2-3 docbook-xml42 postinstall script? Hi Gerrit, this is getting weird. I get different results than you: $ cygcheck -c docbook-xml42 Cygwin Package Information Package VersionStatus docbook-xml424.2-3 OK $ cygcheck -c libxml2 Cygwin Package Information Package VersionStatus libxml2 2.6.13-1 OK $ cat /etc/postinstall/docbook-xml42.sh.done #!/bin/sh mkdir -p /etc/xml [ -f /etc/xml/catalog ] || xmlcatalog --noout --create /etc/xml/catalog xmlcatalog --noout --add public \ -//OASIS//DTD DocBook XML V4.2//EN \ http://www.oasis-open.org/docbook/xml/4.2/ \ /etc/xml/catalog xmlcatalog --noout --add rewriteSystem \ http://www.oasis-open.org/docbook/xml/4.2/ \ /usr/share/xml/docbook/4.2/ \ /etc/xml/catalog and running that gives me a corrupted xml catalog with group elements missing as reported before: [EMAIL PROTECTED] /etc/xml $ /etc/postinstall/docbook-xml42.sh.done [EMAIL PROTECTED] /etc/xml $ cat catalog ?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 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=/usr/share/xml/docbook/4.2// rewriteURI uriStartString=http://docbook.sourceforge.net/release/xsl/current/; rewritePrefix=docbook-xsl// uri name=html.titlepage.templates.xsl uri=Object/html.titlepage.templates.xsl/ public publicId=-//OASIS//DTD DocBook XML V4.2//EN uri=http://www.oasis-open.org/docbook/xml/4.2// /catalog I played around a little bit with the xmlcatalog --shell option. The debug command is not really helpful. But as soon as I execute the first add command, the group elements get lost. Is there anything else I can provide to track this down? complete cygcheck output or such alike? I wonder why we get different results while we both have the same version of the libxml2 package installed. Marcel, judging from your post, you get the same results as I did? Cheers, Patrick -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
Patrick Eisenacher wrote: 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: - all group definitions were lost - all identation was lost If I run the command from the postinstallscript of $ cygcheck -c docbook-xml42 Cygwin Package Information Package VersionStatus docbook-xml424.2-2 OK with libxml2: $ cygcheck -c libxml2 Cygwin Package Information Package VersionStatus libxml2 2.6.13-1 OK It works ok: I just checked my libxml2 installation and I found that I have already 2.6.15 installed. So at least I now that it works with 2.6.15 and I hope it will work with .16 too, I'll probably never again build any .13 version, I'm sorry for the inconvenience. Since in the meantime also 2.6.16 is out I will build this now and update libxml2 ASAP. Thanks for your report. Gerrit -- =^..^= -- 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/
ping: xmlcatalog problems? (was: Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3)
Marcel Telka wrote: On Fri, Nov 12, 2004 at 11:03:49AM +0100, Patrick Eisenacher wrote: 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. It looks like there is a bug in xmlcatalog (from libxml2 package) with group support... I have libxml2-2.6.13 which is the latest at the mirrors and it works for me with the command from the postinstallscript from the latest docbook-xml42 release. So what I did: a. the latest docbook-xml42 postinstall script was used with the provided test catalog b. this works for me, ie. the group entries were still ok. What is your xmlcatalog version, mine is $ cygcheck -c libxml2 Cygwin Package Information Package VersionStatus libxml2 2.6.13-1 OK Where is the problem, where is the bug? Please provide details about what you saw and what you did to get to the point saying looks like there is a bug in xmlcatalog. Gerrit -- =^..^= -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
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 ?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 ?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 -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
On Fri, Nov 12, 2004 at 11:03:49AM +0100, Patrick Eisenacher wrote: 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. It looks like there is a bug in xmlcatalog (from libxml2 package) with group support... -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+ -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
Patrick Eisenacher wrote: 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? If I run the command from the postinstallscript of $ cygcheck -c docbook-xml42 Cygwin Package Information Package VersionStatus docbook-xml424.2-2 OK with libxml2: $ cygcheck -c libxml2 Cygwin Package Information Package VersionStatus libxml2 2.6.13-1 OK It works ok: ?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 id= 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=/usr/share/docbook-xml42// rewriteURI uriStartString=http://docbook.sourceforge.net/release/xsl/current/; rewritePrefix=docbook-xsl// /group group id= xml:base=file:///cygdrive/e/Entwicklung/Hedwig/ uri name=html.titlepage.templates.xsl uri=Object/html.titlepage.templates.xsl/ /group /catalog What version of libxml2 do you have installed? What is the content of the 4.2-3 docbook-xml42 postinstall script? Gerrit -- =^..^= -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
Marcel Telka schrieb: I've updated the docbook-xml42 package to version 4.2-3. docbook-xml42 package contains Docbook XML DTD version 4.2 as published by OASIS. Changes since 4.2-2: - Added Public Identifier association with an URI into /etc/xml/catalog. - Moved DTD files to /usr/share/xml/docbook/4.2 directory. Hi Marcel, thanks for your good work. 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 BUT: - all group definitions were lost - all identation was lost 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? Cheers, Patrick -- 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/
Re: [ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
Hi Patrick. On Thu, Nov 11, 2004 at 02:06:42PM +0100, Patrick Eisenacher wrote: Marcel Telka schrieb: I've updated the docbook-xml42 package to version 4.2-3. docbook-xml42 package contains Docbook XML DTD version 4.2 as published by OASIS. Changes since 4.2-2: - Added Public Identifier association with an URI into /etc/xml/catalog. - Moved DTD files to /usr/share/xml/docbook/4.2 directory. 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? BUT: - all group definitions were lost - all identation was lost Please provide an example of the problematic /etc/xml/catalog file. 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? What exactly is bad with the catalog updating script? http://cygwin.com/acronyms/#PPAST Thanks. -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+ -- 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/
[ANNOUNCEMENT] Updated: docbook-xml42-4.2-3
I've updated the docbook-xml42 package to version 4.2-3. docbook-xml42 package contains Docbook XML DTD version 4.2 as published by OASIS. Changes since 4.2-2: - Added Public Identifier association with an URI into /etc/xml/catalog. - Moved DTD files to /usr/share/xml/docbook/4.2 directory. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. If you have questions or comments, please send them to the Cygwin mailing list at: cygwin at cygwin dot com. I would appreciate it if you would use this mailing list rather than emailing me directly. -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+ -- 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/