You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jo...@apache.org on 2005/07/25 20:19:33 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/objects XString.java

johng       2005/07/25 11:19:33

  Modified:    java/src/org/apache/xpath/objects XString.java
  Log:
  
  PR: XALANJ-2114
  Obtained from:
  Submitted by:	John Gentilin
  Reviewed by:	Henry Zongaro
  CVS: ----------------------------------------------------------------------
  
  Revision  Changes    Path
  1.20      +2 -2      xml-xalan/java/src/org/apache/xpath/objects/XString.java
  
  Index: XString.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/objects/XString.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- XString.java	21 Jul 2005 18:08:34 -0000	1.19
  +++ XString.java	25 Jul 2005 18:19:33 -0000	1.20
  @@ -122,7 +122,7 @@
   	for (int i = 0; i < s.length(); i++)
   	{
   		char c = s.charAt(i);
  -		if (c != '-' & c != '.' & ( c < 0X30 | c > 0x39)) {
  +    if (c != '-' && c != '.' && ( c < 0X30 || c > 0x39)) {
               // The character is not a '-' or a '.' or a digit
               // then return NaN because something is wrong.
   			return result;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org