From dev-return-10960-apmail-ws-dev-archive=ws.apache.org@ws.apache.org Fri Apr 01 17:23:54 2011 Return-Path: Delivered-To: apmail-ws-dev-archive@www.apache.org Received: (qmail 83224 invoked from network); 1 Apr 2011 17:23:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 17:23:46 -0000 Received: (qmail 65049 invoked by uid 500); 1 Apr 2011 17:23:44 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 64084 invoked by uid 500); 1 Apr 2011 17:23:43 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 64068 invoked by uid 99); 1 Apr 2011 17:23:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 17:23:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 17:23:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C8D608EB68 for ; Fri, 1 Apr 2011 17:23:05 +0000 (UTC) Date: Fri, 1 Apr 2011 17:23:05 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: dev@ws.apache.org Message-ID: <1184810771.29022.1301678585819.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1721824196.20136.1301439785917.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AXIOM-359) OMProcessingInstructionImpl incorrectly trims the value passed in the constructor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIOM-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated AXIOM-359: ---------------------------------- Fix Version/s: 1.2.12 Assignee: Andreas Veithen > OMProcessingInstructionImpl incorrectly trims the value passed in the constructor > --------------------------------------------------------------------------------- > > Key: AXIOM-359 > URL: https://issues.apache.org/jira/browse/AXIOM-359 > Project: Axiom > Issue Type: Bug > Components: LLOM > Affects Versions: 1.2.11 > Reporter: Eric Johnson > Assignee: Andreas Veithen > Priority: Minor > Fix For: 1.2.12 > > > When using Axiom with the Santuario port to GenXDM (https://code.google.com/a/apache-extras.org/p/santuario-genxdm/ ), we noticed that certain C14N tests failed. These tests failed because the constructor to OMProcessingInstructionImpl does: > this.value = (value == null) ? null : value.trim(); > In fact, it should do this: > this.value = (value == null) ? null : value; > (That is, not call trim() ). Note that the "setValue()" method does not call "trim()" so the behavior is *also* inconsistent. At least the "setValue()" method appears to provide a work-around for this issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org