Buggy code:
public void callComment ( int comment ) throws Exception { } public void startNamespaceDeclScope ( int prefix , int uri ) throws Exception { } public void endNamespaceDeclScope ( int prefix ) throws Exception { } public void setRootElementType ( QName rootElement ) { } private boolean getElementDeclIsExternal ( int elementIndex ) { } public int getContentSpecType ( int elementIndex ) { } public int getContentSpecHandle ( int elementIndex ) { } private void reportSchemaError ( int code , Object [ ] args ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode , int stringIndex1 ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode , String string1 ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode , int stringIndex1 , int stringIndex2 ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode , String string1 , String string2 ) throws Exception { } protected void reportRecoverableXMLError ( int majorCode , int minorCode , String string1 , String string2 , String string3 ) throws Exception { } protected int whatCanGoHere ( int elementIndex , boolean fullyValid , InsertableElementsInfo info ) throws Exception { } protected boolean getAttDefIsExternal ( QName element , QName attribute ) { } private boolean usingStandaloneReader ( ) { } private LocatorImpl getLocatorImpl ( LocatorImpl fillin ) { } private void poolReset ( ) { } private void resetCommon ( StringPool stringPool ) throws Exception { } private void init ( ) { } private void initDataTypeValidators ( ) { } private int addDefaultAttributes ( int elementIndex , XMLAttrList attrList , int attrIndex , boolean validationEnabled , boolean standalone ) throws Exception { } private int addDTDDefaultAttributes ( QName element , XMLAttrList attrList , int attrIndex , boolean validationEnabled , boolean standalone ) throws Exception { } private XMLContentModel getElementContentModel ( int elementIndex ) throws Exception { } private int getAttDef ( QName element , QName attribute ) { } private int getAttDefByElementIndex ( int elementIndex , QName attribute ) { } private void rootElementSpecified ( QName rootElement ) throws Exception { } private boolean switchGrammar ( int newGrammarNameSpaceIndex ) throws Exception { } private void bindNamespacesToElementAndAttributes ( QName element , XMLAttrList attrList ) throws Exception { } private void parseSchemas ( ) throws Exception { } private void parseSchemaLocation ( String schemaLocationStr ) throws Exception { } private void resolveSchemaGrammar ( String loc , String uri ) throws Exception { } private String bindNotationURI ( String value ) throws Exception { } static class Resolver implements EntityResolver { private static final String [ ] SYSTEM = new String [ ] { "http:////www.w3.org//2001//XMLSchema.dtd" , "http:////www.w3.org//XMLSchema//datatypes.dtd" , "http:////www.w3.org//XMLSchema//versionInfo.ent" } ; private static final String [ ] PATH = new String [ ] { "structures.dtd" , "datatypes.dtd" , "versionInfo.ent" } ; private DefaultEntityHandler fEntityHandler ; public Resolver ( DefaultEntityHandler handler ) { } public InputSource resolveEntity ( String publicId , String systemId ) throws IOException , SAXException { } } static class ErrorHandler implements org . xml . sax . ErrorHandler { public void warning ( SAXParseException ex ) { } public void error ( SAXParseException ex ) { } public void fatalError ( SAXParseException ex ) { } private String getLocationString ( SAXParseException ex ) { } } private int attributeTypeName ( XMLAttributeDecl attrDecl ) { } private void validateElementAndAttributes ( QName element , XMLAttrList attrList ) throws Exception { } private int validateDTDattribute ( QName element , int attValue , XMLAttributeDecl attributeDecl ) throws Exception { } private int normalizeListAttribute ( String value , int origIndex , String unTrimValue ) { fStringBuffer . setLength ( 0 ) ; int length = value . length ( ) ; boolean skipSpace = true ; char c = 0 ; for ( int i = 0 ; i < length ; i ++ ) { c = value . charAt ( i ) ; <START_BUG> if ( ( ( ( c == 32 ) || ( c == 13 ) ) || ( c == 10 ) ) || ( c == 9 ) ) { <END_BUG> if ( ! skipSpace ) { fStringBuffer . append ( '<seq2seq4repair_space>' ) ; skipSpace = true ; } } else { fStringBuffer . append ( ( ( char ) ( c ) ) ) ; skipSpace = false ; } } if ( ( fStringBuffer . length ( ) ) == ( unTrimValue . length ( ) ) ) return origIndex ; return fStringPool . addSymbol ( fStringBuffer . toString ( ) ) ; } private void charDataInContent ( ) { } private int checkContent ( int elementIndex , QName [ ] children , int childOffset , int childCount ) throws Exception { } private void printChildren ( ) { } private void printStack ( ) { } public interface AttributeValidator { public int normalize ( QName element , QName attribute , int attValue , int attType , int enumHandle ) throws Exception { } } boolean invalidStandaloneAttDef ( QName element , QName attribute ) { } void validateUsingDV ( DatatypeValidator dv , String content , boolean onlyVal3Types ) throws Exception , InvalidDatatypeValueException { } final class AttValidatorNOTATION implements XMLValidator . AttributeValidator { public int normalize ( QName element , QName attribute , int attValueHandle , int attType , int enumHandle ) throws Exception { } boolean invalidStandaloneAttDef ( QName element , QName attribute ) { } } final class AttValidatorENUMERATION implements XMLValidator . AttributeValidator { public int normalize ( QName element , QName attribute , int attValueHandle , int attType , int enumHandle ) throws Exception { } boolean invalidStandaloneAttDef ( QName element , QName attribute ) { } } protected static class XPathMatcherStack { protected XPathMatcher [ ] fMatchers = new XPathMatcher [ 4 ] ; protected int fMatchersCount ; protected IntStack fContextStack = new IntStack ( ) ; public XPathMatcherStack ( ) { }

Fix:
if ( c == 32 ) {