cargilld    2005/03/29 18:22:39

  Modified:    c/src/xercesc/validators/schema TraverseSchema.cpp
  Log:
  Allow XSAnnotation generation to be controlled by a feature.
  
  Revision  Changes    Path
  1.133     +2 -2      
xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp
  
  Index: TraverseSchema.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- TraverseSchema.cpp        14 Mar 2005 17:07:01 -0000      1.132
  +++ TraverseSchema.cpp        30 Mar 2005 02:22:38 -0000      1.133
  @@ -475,7 +475,7 @@
               contents = ((DOMText*) textContent)->getData();    
       }
   
  -    if (contents)
  +    if (contents && !fScanner->getIgnoreAnnotations())
       {
           XSAnnotation* theAnnotation = 0;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to