NetBSD Problem Report #43608

From www@NetBSD.org  Tue Jul 13 03:48:54 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0308063BADB
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Jul 2010 03:48:53 +0000 (UTC)
Message-Id: <20100713034853.8CC1D63BACE@www.NetBSD.org>
Date: Tue, 13 Jul 2010 03:48:53 +0000 (UTC)
From: wenheping@gmail.com
Reply-To: wenheping@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [textproc/jdom] Update to 1.1.1
X-Send-Pr-Version: www-1.0

>Number:         43608
>Category:       pkg
>Synopsis:       [textproc/jdom] Update to 1.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 13 03:50:00 +0000 2010
>Closed-Date:    Thu Jul 15 12:14:06 +0000 2010
>Last-Modified:  Thu Jul 15 12:15:02 +0000 2010
>Originator:     Wen Heping
>Release:        NetBSD-5.0.2
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
* * * * * * JDOM 1.1.1 (tag: jdom_1_1_1) from JDOM 1.1 * * * * * *

Fixed a synchronization issue in the Namespace class that could cause a
hang when doing concurrent builds.

Added output support for Unicode surrogate pairs.

Added a new flag on SAXBuilder named setFastReconfigure() which, when set,can speed reconfiguration by skipping repeated attempts to set features that are determined not to be present on a parser.  Useful when doing many builds per second.

Updated the provided Jaxen library from a modified Jaxen 1.0 to the latest which is Jaxen 1.1.1.

Added reflection code in the error reporting system to support Android's
Dalvik VM which doesn't have the java.rmi.* classes.

* * * * * * JDOM 1.1 (tag: jdom_1_1) from JDOM 1.0 * * * * * *

Added an additional constructor to JDOMSource with an EntityResolver which is passed to the internal DocumentReader allowing the SAXOutputter to properly resolve DTDs.

Added a forceNamespaceAware property to DOMOutputter which specifies you want a DOM constructed with namespaces even if the source JDOM document has no namespaces.

Added support for attribute "INF" and "-INF" values, to indicate positive and negative infinity, as XML Schema allows.

Moved isXMLWhitespace() method from private in XMLOutputter to public in
Verifier.

Clarified XMLOutputter behavior with newlines and indents:
  setIndent(" ") means newlines and " " indents
  setIndent("") means newlines and "" indents
  setIndent(null) means no newlines and no indents

Added set/getIgnoringBoundaryWhitespace() methods and features to SAXBuilder and SAXHandler.

Added a setFactory() method on XSLTransformer to control the object types built by the transform.

Added a string constant for the JDOM_OBJECT_MODEL_URI used by JAXP 1.3.  It deserves being part of the public API.

Fixed bug in SAXOutputter where default namespaces would be declared as
xmlns:="" with a spurious colon.

Fixed bug when using attributes without a namespace and outputting to a
JDOMResult.

Removing check that a comment not start with a hyphen. A careful reading of production 15 in the XML 1.0 spec indicates leading hyphens are in fact allowed.

Fixed bug where outputFragment() on SAXOutputter could cause a
NullPointerException because the locator would be null during the call.

Fixed bug where serializing ElementFilter causes a NullPointerException if the filter has no assigned namespace

Fixed some subtle bad behaviors in listIterator.add() logic, using brand new iterator logic.

Allowed a String to be passed to ContentList.add(int, Object).

Simplified JDOMAbout and renamed info.xml to jdom-info.xml, so
getResourceAsStream() won't suffer any name collision.

Fixed tiny issue where CDATA could be set with illegal character content.

Added logic to escape some special characters in namespace URIs.

Fixed bug where the attribute type would change on a setAttribute() call.

Improved performance on Namespace handling.

Improved and clarified Javadocs.

>How-To-Repeat:

>Fix:
I will submit the patch in follow-up email.

>Release-Note:

>Audit-Trail:
From: wen heping <wenheping@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43608: [textproc/jdom] Update to 1.1.1
Date: Tue, 13 Jul 2010 13:11:35 +0800

 --000e0cd56df042034c048b3de705
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 I attached the diff file here.

 wen

 On Tue, Jul 13, 2010 at 11:50 AM,  <gnats-admin@netbsd.org> wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/43608'.
 > The individual assigned to look at your
 > report is: pkg-manager.
 >
 >>Category: =A0 =A0 =A0 pkg
 >>Responsible: =A0 =A0pkg-manager
 >>Synopsis: =A0 =A0 =A0 [textproc/jdom] Update to 1.1.1
 >>Arrival-Date: =A0 Tue Jul 13 03:50:00 +0000 2010
 >
 >

 --000e0cd56df042034c048b3de705
 Content-Type: text/plain; charset=US-ASCII; name="jdom111.diff.txt"
 Content-Disposition: attachment; filename="jdom111.diff.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_gbkabekg0

 LS0tIE1ha2VmaWxlLm9yaWcJMjAxMC0wNy0xMyAxNjozNzowMC4wMDAwMDAwMDAgKzA4MDAKKysr
 IE1ha2VmaWxlCTIwMTAtMDctMTMgMTY6NDY6MTkuMDAwMDAwMDAwICswODAwCkBAIC0xLDcgKzEs
 NyBAQAogIyAkTmV0QlNEOiBNYWtlZmlsZSx2IDEuNSAyMDA4LzA3LzE0IDEyOjU2OjEzIGpvZXJn
 IEV4cCAkCiAjCiAKLURJU1ROQU1FPQlqZG9tLTEuMAorRElTVE5BTUU9CWpkb20tMS4xLjEKIENB
 VEVHT1JJRVM9CXRleHRwcm9jCiBNQVNURVJfU0lURVM9CWh0dHA6Ly93d3cuamRvbS5vcmcvZGlz
 dC9iaW5hcnkvCiBFWFRSQUNUX1NVRlg9CS56aXAKQEAgLTE2LDcgKzE2LDggQEAKIAogVVNFX0xB
 TkdVQUdFUz0JIyBvbmx5IEphdmEKIFVTRV9UT09MUys9CXBheAotQVVUT19NS0RJUlM9CQkJeWVz
 CitBVVRPX01LRElSUz0JeWVzCitXUktTUkM9CQkke1dSS0RJUn0vamRvbQogCiBkby1idWlsZDoK
 IAljZCAke1dSS1NSQ30v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 cmUvZG9jL2pkb20vYWxsY2xhc3Nlcy1ub2ZyYW1lLmh0bWwKK3NoYXJlL2RvYy9qZG9tL2NvbnN0
 YW50LXZhbHVlcy5odG1sCiBzaGFyZS9kb2MvamRvbS9kZXByZWNhdGVkLWxpc3QuaHRtbAogc2hh
 cmUvZG9jL2pkb20vaGVscC1kb2MuaHRtbAogc2hhcmUvZG9jL2pkb20vaW5kZXgtZmlsZXMvaW5k
 ZXgtMS5odG1sCkBAIC0xNjEsNyArMTYzLDcgQEAKIHNoYXJlL2RvYy9qZG9tL292ZXJ2aWV3LWZy
 YW1lLmh0bWwKIHNoYXJlL2RvYy9qZG9tL292ZXJ2aWV3LXN1bW1hcnkuaHRtbAogc2hhcmUvZG9j
 L2pkb20vb3ZlcnZpZXctdHJlZS5odG1sCitzaGFyZS9kb2MvamRvbS9yZXNvdXJjZXMvaW5oZXJp
 dC5naWYKIHNoYXJlL2RvYy9qZG9tL3BhY2thZ2UtbGlzdAotc2hhcmUvZG9jL2pkb20vcGFja2Fn
 ZXMuaHRtbAogc2hhcmUvZG9jL2pkb20vc2VyaWFsaXplZC1mb3JtLmh0bWwKIHNoYXJlL2RvYy9q
 ZG9tL3N0eWxlc2hlZXQuY3NzCg==
 --000e0cd56df042034c048b3de705--

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 15 Jul 2010 12:01:16 +0000
Responsible-Changed-Why:
I'll take this.


State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 15 Jul 2010 12:14:06 +0000
State-Changed-Why:
Updated.  Thanks!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43608 CVS commit: pkgsrc/textproc/jdom
Date: Thu, 15 Jul 2010 12:12:11 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jul 15 12:12:10 UTC 2010

 Modified Files:
 	pkgsrc/textproc/jdom: Makefile PLIST distinfo

 Log Message:
 Update jdom to 1.1.1.
 Based on PR#43608 by Wen Heping.

 * * * * * * JDOM 1.1.1 (tag: jdom_1_1_1) from JDOM 1.1 * * * * * *

 Fixed a synchronization issue in the Namespace class that could cause a
 hang when doing concurrent builds.

 Added output support for Unicode surrogate pairs.

 Added a new flag on SAXBuilder named setFastReconfigure() which, when set,
 can speed reconfiguration by skipping repeated attempts to set features that
 are determined not to be present on a parser.  Useful when doing many builds
 per second.

 Updated the provided Jaxen library from a modified Jaxen 1.0 to the latest
 which is Jaxen 1.1.1.

 Added reflection code in the error reporting system to support Android's
 Dalvik VM which doesn't have the java.rmi.* classes.

 * * * * * * JDOM 1.1 (tag: jdom_1_1) from JDOM 1.0 * * * * * *

 Added an additional constructor to JDOMSource with an EntityResolver which is
 passed to the internal DocumentReader allowing the SAXOutputter to properly
 resolve DTDs.

 Added a forceNamespaceAware property to DOMOutputter which specifies you want
 a DOM constructed with namespaces even if the source JDOM document has no
 namespaces.

 Added support for attribute "INF" and "-INF" values, to indicate positive and
 negative infinity, as XML Schema allows.

 Moved isXMLWhitespace() method from private in XMLOutputter to public in
 Verifier.

 Clarified XMLOutputter behavior with newlines and indents:
   setIndent(" ") means newlines and " " indents
   setIndent("") means newlines and "" indents
   setIndent(null) means no newlines and no indents

 Added set/getIgnoringBoundaryWhitespace() methods and features to SAXBuilder
 and SAXHandler.

 Added a setFactory() method on XSLTransformer to control the object types
 built by the transform.

 Added a string constant for the JDOM_OBJECT_MODEL_URI used by JAXP 1.3.  It
 deserves being part of the public API.

 Fixed bug in SAXOutputter where default namespaces would be declared as
 xmlns:="" with a spurious colon.

 Fixed bug when using attributes without a namespace and outputting to a
 JDOMResult.

 Removing check that a comment not start with a hyphen. A careful reading of
 production 15 in the XML 1.0 spec indicates leading hyphens are in fact
 allowed.

 Fixed bug where outputFragment() on SAXOutputter could cause a
 NullPointerException because the locator would be null during the call.

 Fixed bug where serializing ElementFilter causes a NullPointerException if the
 filter has no assigned namespace

 Fixed some subtle bad behaviors in listIterator.add() logic, using brand new
 iterator logic.

 Allowed a String to be passed to ContentList.add(int, Object).

 Simplified JDOMAbout and renamed info.xml to jdom-info.xml, so
 getResourceAsStream() won't suffer any name collision.

 Fixed tiny issue where CDATA could be set with illegal character content.

 Added logic to escape some special characters in namespace URIs.

 Fixed bug where the attribute type would change on a setAttribute() call.

 Improved performance on Namespace handling.

 Improved and clarified Javadocs.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/jdom/Makefile
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/textproc/jdom/PLIST \
     pkgsrc/textproc/jdom/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.