axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject [Axis2] Fixing symptom
Date Wed, 13 Jul 2005 19:59:59 GMT
Can one of you who report this problem, please debug why this is
needed? I can't recreate the problem. (glen reports that this indeed
fixes the problem, but we need to find out the reason).

-- dims

On 7/13/05, dims@apache.org <dims@apache.org> wrote:
> Author: dims
> Date: Wed Jul 13 11:05:02 2005
> New Revision: 216199
> 
> URL: http://svn.apache.org/viewcvs?rev=216199&view=rev
> Log:
> let's see if trim fixes the problems.
> 
> Modified:
>     webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
> 
> Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
> URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java?rev=216199&r1=216198&r2=216199&view=diff
> ==============================================================================
> --- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
(original)
> +++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
Wed Jul 13 11:05:02 2005
> @@ -38,8 +38,8 @@
>       */
>      public OMProcessingInstructionImpl(OMContainer parentNode, String target, String
value) {
>          super(parentNode);
> -        this.target = target;
> -        this.value = value;
> +        this.target = (target == null) ? null : target.trim();
> +        this.value = (value == null) ? null : value.trim();
>          nodeType = OMNode.PI_NODE;
>      }
> 
> 
> 
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Mime
View raw message