Your message dated Tue, 23 Sep 2008 21:17:16 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#495104: fixed in libxml-commons-resolver1.1-java 1.2-2.1
has caused the Debian Bug report #495104,
regarding libxml-commons-resolver1.1-java: Request to add a patch with a new API
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
495104: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495104
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libxml-commons-resolver1.1-java
Version: 1.2-2
Severity: wishlist
Tags: patch
Hi,
resolver.jar is a third party library being used in netbeans.
But it needs to be patched to cater to NetBeans needs.
There are three ways:
1) vote for a new API on [EMAIL PROTECTED]
2) create forked package for patched resolver
3) request the original libxml-commons-resolver1.1-jaqva package to add
our patch
Results:
1) a letter on [EMAIL PROTECTED] was sent.
The answer was:
------
Since the 1.2 release there hasn't been any discussion on future
development or any changes made to the resolver codebase. There
currently are no plans for a 1.3. If one were happen it needs content
and volunteers to do the development and release managment.
-------
Based on this, it seems to be not the fastest way.
2) I've created a forked resolver. It is on mentors.debian.net now. But
I'm afraid it can be rejected because of duplication of code.
3) this bug is a result
So is it possible to add my patch into existing package?
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libxml-commons-resolver1.1-java depends on:
ii default-jre [java2-runtime] 1.5-30 Standard Java or Java
compatible R
ii java-gcj-compat [java2-runtim 1.0.78-1 Java runtime environment
using GIJ
ii openjdk-6-jre [java2-runtime] 6b10dfsg-2 OpenJDK Java runtime
libxml-commons-resolver1.1-java recommends no packages.
Versions of packages libxml-commons-resolver1.1-java suggests:
pn libxml-commons-resolver1.1-ja <none> (no description available)
-- no debconf information
diff -Nur -x '*.orig' -x '*~' libnb-resolver-java-1.2/resolver.xml libnb-resolver-java-1.2.new/resolver.xml
--- libnb-resolver-java-1.2/resolver.xml 2006-11-20 23:23:07.000000000 +0300
+++ libnb-resolver-java-1.2.new/resolver.xml 2008-07-08 16:12:49.000000000 +0400
@@ -88,7 +88,7 @@
<echo message="Compiling..." />
- <javac srcdir="${src.dir}" destdir="${build.classes.dir}" debug="true" optimize="true" deprecation="true" verbose="false">
+ <javac srcdir="${src.dir}" destdir="${build.classes.dir}" debug="true" optimize="true" deprecation="true" verbose="false" source="1.4">
<!-- <classpath> not needed since Ant already supplies these Sep-03 -sc -->
<include name="${resolver.subdir}/*.java"/>
<include name="${resolver.subdir}/helpers/*.java"/>
diff -Nur -x '*.orig' -x '*~' libnb-resolver-java-1.2/src/org/apache/xml/resolver/Catalog.java libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/Catalog.java
--- libnb-resolver-java-1.2/src/org/apache/xml/resolver/Catalog.java 2006-11-20 23:23:06.000000000 +0300
+++ libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/Catalog.java 2008-07-08 14:28:31.000000000 +0400
@@ -29,7 +29,7 @@
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
-
+import java.util.Iterator;
import java.net.URL;
import java.net.MalformedURLException;
@@ -1167,6 +1167,23 @@
}
+ /**
+ * Return all registered public IDs.
+ */
+ public Iterator getPublicIDs() {
+ Vector v = new Vector();
+ Enumeration enum = catalogEntries.elements();
+
+ while (enum.hasMoreElements()) {
+ CatalogEntry e = (CatalogEntry) enum.nextElement();
+ if (e.getEntryType() == PUBLIC) {
+ v.add(e.getEntryArg(0));
+ }
+ }
+ return v.iterator();
+ }
+
+
/**
* Return the applicable DOCTYPE system identifier.
*
diff -Nur -x '*.orig' -x '*~' libnb-resolver-java-1.2/src/org/apache/xml/resolver/CatalogManager.java libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/CatalogManager.java
--- libnb-resolver-java-1.2/src/org/apache/xml/resolver/CatalogManager.java 2006-11-20 23:23:06.000000000 +0300
+++ libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/CatalogManager.java 2008-07-08 16:06:47.000000000 +0400
@@ -1,3 +1,4 @@
+
// CatalogManager.java - Access CatalogManager.properties
/*
@@ -212,7 +213,11 @@
// to avoid it.
}
- /** Constructor that specifies an explicit property file. */
+ /**
+ * Constructor that specifies an explicit property file.
+ * @param propertyFile path to property file (e.g. com/resources/CatalogManager).
+ * <code>null</code> means that no property file is consulted at all.
+ */
public CatalogManager(String propertyFile) {
this.propertyFile = propertyFile;
@@ -239,13 +244,14 @@
* resources from it.
*/
private synchronized void readProperties() {
+ if (propertyFile == null) return;
try {
propertyFileURI = CatalogManager.class.getResource("/"+propertyFile);
InputStream in =
CatalogManager.class.getResourceAsStream("/"+propertyFile);
if (in==null) {
if (!ignoreMissingProperties) {
- System.err.println("Cannot find "+propertyFile);
+ debug.message(2,"Cannot find "+propertyFile);
// there's no reason to give this warning more than once
ignoreMissingProperties = true;
}
diff -Nur -x '*.orig' -x '*~' libnb-resolver-java-1.2/src/org/apache/xml/resolver/tools/CatalogResolver.java libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/tools/CatalogResolver.java
--- libnb-resolver-java-1.2/src/org/apache/xml/resolver/tools/CatalogResolver.java 2006-11-20 23:23:06.000000000 +0300
+++ libnb-resolver-java-1.2.new/src/org/apache/xml/resolver/tools/CatalogResolver.java 2008-07-08 16:09:14.000000000 +0400
@@ -192,33 +192,8 @@
String resolved = getResolvedEntity(publicId, systemId);
if (resolved != null) {
- try {
InputSource iSource = new InputSource(resolved);
iSource.setPublicId(publicId);
-
- // Ideally this method would not attempt to open the
- // InputStream, but there is a bug (in Xerces, at least)
- // that causes the parser to mistakenly open the wrong
- // system identifier if the returned InputSource does
- // not have a byteStream.
- //
- // It could be argued that we still shouldn't do this here,
- // but since the purpose of calling the entityResolver is
- // almost certainly to open the input stream, it seems to
- // do little harm.
- //
- URL url = new URL(resolved);
- InputStream iStream = url.openStream();
- iSource.setByteStream(iStream);
-
- return iSource;
- } catch (Exception e) {
- catalogManager.debug.message(1,
- "Failed to create InputSource ("
- + e.toString()
- + ")", resolved);
- return null;
- }
}
return null;
--- End Message ---
--- Begin Message ---
Source: libxml-commons-resolver1.1-java
Source-Version: 1.2-2.1
We believe that the bug you reported is fixed in the latest version of
libxml-commons-resolver1.1-java, which is due to be installed in the Debian FTP
archive:
libxml-commons-resolver1.1-java-doc_1.2-2.1_all.deb
to
pool/main/libx/libxml-commons-resolver1.1-java/libxml-commons-resolver1.1-java-doc_1.2-2.1_all.deb
libxml-commons-resolver1.1-java-gcj_1.2-2.1_i386.deb
to
pool/main/libx/libxml-commons-resolver1.1-java/libxml-commons-resolver1.1-java-gcj_1.2-2.1_i386.deb
libxml-commons-resolver1.1-java_1.2-2.1.diff.gz
to
pool/main/libx/libxml-commons-resolver1.1-java/libxml-commons-resolver1.1-java_1.2-2.1.diff.gz
libxml-commons-resolver1.1-java_1.2-2.1.dsc
to
pool/main/libx/libxml-commons-resolver1.1-java/libxml-commons-resolver1.1-java_1.2-2.1.dsc
libxml-commons-resolver1.1-java_1.2-2.1_all.deb
to
pool/main/libx/libxml-commons-resolver1.1-java/libxml-commons-resolver1.1-java_1.2-2.1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Torsten Werner <[EMAIL PROTECTED]> (supplier of updated
libxml-commons-resolver1.1-java package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 23 Sep 2008 21:19:52 +0200
Source: libxml-commons-resolver1.1-java
Binary: libxml-commons-resolver1.1-java libxml-commons-resolver1.1-java-doc
libxml-commons-resolver1.1-java-gcj
Architecture: source all i386
Version: 1.2-2.1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Torsten Werner <[EMAIL PROTECTED]>
Description:
libxml-commons-resolver1.1-java - XML entity and URI resolver library
libxml-commons-resolver1.1-java-doc - XML entity and URI resolver library --
documentation
libxml-commons-resolver1.1-java-gcj - XML entity and URI resolver library --
native library
Closes: 495104
Changes:
libxml-commons-resolver1.1-java (1.2-2.1) unstable; urgency=low
.
* Non-maintainer upload.
* Add patch for netbeans from Yulia Novozhilova. (Closes: #495104)
Checksums-Sha1:
84efdb0771b12b615ec9e3e1446119fac230148d 1631
libxml-commons-resolver1.1-java_1.2-2.1.dsc
053b5d2d9043cb8b7a42173bcdb907c5f0e58fcf 5239
libxml-commons-resolver1.1-java_1.2-2.1.diff.gz
f773bf4fcac5a426ebd322161cc95c9c7bd40e0a 83878
libxml-commons-resolver1.1-java_1.2-2.1_all.deb
7dc1f9237360def946dee7e1b386c1f13a7978aa 107258
libxml-commons-resolver1.1-java-doc_1.2-2.1_all.deb
a6e444623c8928581b65259253a06b78bce83aab 84448
libxml-commons-resolver1.1-java-gcj_1.2-2.1_i386.deb
Checksums-Sha256:
019c6189283a54f97f78de38bf6179b8231f233dde13ccd69f436be7fb0c94e9 1631
libxml-commons-resolver1.1-java_1.2-2.1.dsc
31ee47714549eb7c331f90f0c8218dfe2792b01278c673311c96316db34ef147 5239
libxml-commons-resolver1.1-java_1.2-2.1.diff.gz
4c3e148908c19c80e333582335f801f4100b6fdbf30f02ea704de1504b708f82 83878
libxml-commons-resolver1.1-java_1.2-2.1_all.deb
b97033949748b99f9aab8b172cf4fd4e35e91c208399543143b60860a93c33a0 107258
libxml-commons-resolver1.1-java-doc_1.2-2.1_all.deb
72fc4e3efd8064813156734b573cd0c4364c264bad89ee91dc69837df646b6d5 84448
libxml-commons-resolver1.1-java-gcj_1.2-2.1_i386.deb
Files:
759988025cc5af0e05e2b6a847d21fef 1631 libs optional
libxml-commons-resolver1.1-java_1.2-2.1.dsc
743b60ca55ddc816bd79836e79eb9ba9 5239 libs optional
libxml-commons-resolver1.1-java_1.2-2.1.diff.gz
ee1b68b8492c96840155b413cc7e0715 83878 libs optional
libxml-commons-resolver1.1-java_1.2-2.1_all.deb
06a160bd7c7e99fec55bc3c937740432 107258 doc optional
libxml-commons-resolver1.1-java-doc_1.2-2.1_all.deb
6cbffff2542baffa46b234da41720e33 84448 libs optional
libxml-commons-resolver1.1-java-gcj_1.2-2.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjZRzwACgkQfY3dicTPjsPMPgCgjsPLX0wE5VcNHrpBqoXSqr+J
NPUAn2L1dpbWTmNDdO9AcYA+sV+HZ4pL
=t98o
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers