You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2002/05/08 20:18:46 UTC

cvs commit: xml-xerces/c/samples/SEnumVal SEnumVal.cpp

knoaman     02/05/08 11:18:46

  Modified:    c/samples/SEnumVal SEnumVal.cpp
  Log:
  Fix bor bug 8301: INFINITY used as enum member.
  
  Revision  Changes    Path
  1.10      +10 -14    xml-xerces/c/samples/SEnumVal/SEnumVal.cpp
  
  Index: SEnumVal.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/SEnumVal/SEnumVal.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SEnumVal.cpp	17 Apr 2002 20:18:08 -0000	1.9
  +++ SEnumVal.cpp	8 May 2002 18:18:46 -0000	1.10
  @@ -55,8 +55,11 @@
    */
   
   /*
  - * $Id: SEnumVal.cpp,v 1.9 2002/04/17 20:18:08 tng Exp $
  + * $Id: SEnumVal.cpp,v 1.10 2002/05/08 18:18:46 knoaman Exp $
    * $Log: SEnumVal.cpp,v $
  + * Revision 1.10  2002/05/08 18:18:46  knoaman
  + * Fix bor bug 8301: INFINITY used as enum member.
  + *
    * Revision 1.9  2002/04/17 20:18:08  tng
    * [Bug 7493] The word "occured" is misspelled and it is a global error.
    *
  @@ -310,21 +313,14 @@
   			cout << "Misc. Flags:\t";
   		}
   
  -		if( mflags == SchemaSymbols::INFINITY  )
  -		{
  -			cout << "Infinity ";
  -		}
  -		else
  -		{
  -			if ( mflags & SchemaSymbols::NILLABLE  != 0 )
  -				cout << "Nillable ";
  +        if ( mflags & SchemaSymbols::NILLABLE  != 0 )
  +			cout << "Nillable ";
   
  -			if ( mflags & SchemaSymbols::ABSTRACT  != 0 )
  -				cout << "Abstract ";
  +		if ( mflags & SchemaSymbols::ABSTRACT  != 0 )
  +			cout << "Abstract ";
   
  -			if ( mflags & SchemaSymbols::FIXED     != 0 )
  -				cout << "Fixed ";
  -		}
  +		if ( mflags & SchemaSymbols::FIXED     != 0 )
  +			cout << "Fixed ";
   
   		if( mflags !=0 )
   		{
  
  
  

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