Buggy code:
public void ignorableWhitespace ( XMLString text , Augmentations augs ) throws XNIException { } public void endElement ( QName element , Augmentations augs ) throws XNIException { } public void endPrefixMapping ( String prefix , Augmentations augs ) throws XNIException { } public void startCDATA ( Augmentations augs ) throws XNIException { } public void endCDATA ( Augmentations augs ) throws XNIException { } public void endDocument ( Augmentations augs ) throws XNIException { } public void startEntity ( String name , String publicId , String systemId , String baseSystemId , String encoding , Augmentations augs ) throws XNIException { } public void textDecl ( String version , String encoding , Augmentations augs ) throws XNIException { } public void comment ( XMLString text , Augmentations augs ) throws XNIException { } public void processingInstruction ( String target , XMLString data , Augmentations augs ) throws XNIException { } public void endEntity ( String name , Augmentations augs ) throws XNIException { } static final int INITIAL_STACK_SIZE = 8 ; static final int INC_STACK_SIZE = 8 ; String XMLNS ; String URI_XSI ; String XSI_SCHEMALOCATION ; String XSI_NONAMESPACESCHEMALOCATION ; String XSI_TYPE ; String XSI_NIL ; String URI_SCHEMAFORSCHEMA ; final XSGrammarResolver fGrammarResolver ; final SubstitutionGroupHandler fSubGroupHandler ; final XSDHandler fSchemaHandler ; final NamespaceSupport fNamespaceSupport = new NamespaceSupport ( ) ; boolean fPushForNextBinding ; final XSSimpleType fQNameDV = ( ( XSSimpleType ) ( SG_SchemaNS . getGlobalTypeDecl ( ATTVAL_QNAME ) ) ) ; final CMBuilder fCMBuilder = new CMBuilder ( new XSDeclarationPool ( ) ) ; String fValidationRoot ; int fValidationRootDepth ; int fSkipValidationDepth ; int fPartialValidationDepth ; int fElementDepth ; int fChildCount ; int [ ] fChildCountStack = new int [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; XSElementDecl fCurrentElemDecl ; XSElementDecl [ ] fElemDeclStack = new XSElementDecl [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; boolean fNil ; boolean [ ] fNilStack = new boolean [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; XSTypeDecl fCurrentType ; XSTypeDecl [ ] fTypeStack = new XSTypeDecl [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; XSCMValidator fCurrentCM ; XSCMValidator [ ] fCMStack = new XSCMValidator [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; int [ ] fCurrCMState ; int [ ] [ ] fCMStateStack = new int [ XMLSchemaValidator . INITIAL_STACK_SIZE ] [ ] ; final StringBuffer fBuffer = new StringBuffer ( ) ; boolean fSawCharacters = false ; boolean [ ] fStringContent = new boolean [ XMLSchemaValidator . INITIAL_STACK_SIZE ] ; final QName fTempQName = new QName ( ) ; ValidatedInfo fValidatedInfo = new ValidatedInfo ( ) ; private ValidationState fState4XsiType = new ValidationState ( ) ; private ValidationState fState4ApplyDefault = new ValidationState ( ) ; protected XMLSchemaValidator . XPathMatcherStack fMatcherStack = new XMLSchemaValidator . XPathMatcherStack ( ) ; protected XMLSchemaValidator . ValueStoreCache fValueStoreCache = new XMLSchemaValidator . ValueStoreCache ( ) ; public XMLSchemaValidator ( ) { } public void reset ( XMLComponentManager componentManager ) throws XMLConfigurationException { } public void startValueScopeFor ( IdentityConstraint identityConstraint ) throws XNIException { } public XPathMatcher activateField ( Field field ) throws XNIException { } public void endValueScopeFor ( IdentityConstraint identityConstraint ) throws XNIException { } private void activateSelectorFor ( IdentityConstraint ic ) throws XNIException { } void ensureStackCapacity ( ) { } void handleStartDocument ( XMLLocator locator , String encoding ) { } void handleEndDocument ( ) { } void handleCharacters ( XMLString text ) { } void handleIgnorableWhitespace ( XMLString text ) { } void handleStartElement ( QName element , XMLAttributes attributes , Augmentations augs ) { } XMLString handleEndElement ( QName element , Augmentations augs ) { } void handleStartPrefix ( String prefix , String uri ) { } void parseSchemas ( String sLocation , String nsLocation ) { if ( sLocation != null ) { StringTokenizer t = new StringTokenizer ( sLocation , "<seq2seq4repair_space>\n\t\r" ) ; String namespace ; String location ; while ( t . hasMoreTokens ( ) ) { namespace = t . nextToken ( ) ; if ( ! ( t . hasMoreTokens ( ) ) ) { <START_BUG> fXSIErrorReporter . reportError ( SCHEMA_DOMAIN , "general" , new Object [ ] { ( "No<seq2seq4repair_space>matching<seq2seq4repair_space>location<seq2seq4repair_space>hint<seq2seq4repair_space>for<seq2seq4repair_space>namespace<seq2seq4repair_space>'" + namespace ) + "'<seq2seq4repair_space>in<seq2seq4repair_space>attribute<seq2seq4repair_space>schemaLocation" } , SEVERITY_WARNING ) ; <END_BUG> break ; } location = t . nextToken ( ) ; if ( ( fGrammarResolver . getGrammar ( namespace ) ) == null ) fSchemaHandler . parseSchema ( namespace , location ) ; } } if ( nsLocation != null ) { if ( ( fGrammarResolver . getGrammar ( null ) ) == null ) fSchemaHandler . parseSchema ( null , nsLocation ) ; } } void getAndCheckXsiType ( QName element , String xsiType ) { } void getXsiNil ( QName element , String xsiNil ) { } void processAttributes ( QName element , XMLAttributes attributes , XSAttributeGroupDecl attrGrp ) { } void addDefaultAttributes ( QName element , XMLAttributes attributes , XSAttributeGroupDecl attrGrp ) { } XMLString processElementContent ( QName element ) { } Object elementLocallyValidType ( QName element , String textContent ) { } Object elementLocallyValidComplexType ( QName element , String textContent ) { } void reportSchemaError ( String key , Object [ ] arguments ) { } protected static class XPathMatcherStack { protected XPathMatcher [ ] fMatchers = new XPathMatcher [ 4 ] ; protected int fMatchersCount ; protected IntStack fContextStack = new IntStack ( ) ; public XPathMatcherStack ( ) { } public void clear ( ) { } public int size ( ) { } public int getMatcherCount ( ) { } public void addMatcher ( XPathMatcher matcher ) { } public XPathMatcher getMatcherAt ( int index ) { } public void pushContext ( ) { } public void popContext ( ) { } private void ensureMatcherCapacity ( ) { } } protected abstract class ValueStoreBase implements ValueStore { protected IDValue NOT_AN_IDVALUE = new IDValue ( "￿" , null ) ; protected IdentityConstraint fIdentityConstraint ; protected final XMLSchemaValidator . OrderedHashtable fValues = new XMLSchemaValidator . OrderedHashtable ( ) ; protected int fValuesCount ; protected final Vector fValueTuples = new Vector ( ) ; protected ValueStoreBase ( IdentityConstraint identityConstraint ) { }

Fix:
fXSIErrorReporter . reportError ( SCHEMA_DOMAIN , "General" , new Object [ ] { ( "No<seq2seq4repair_space>matching<seq2seq4repair_space>location<seq2seq4repair_space>hint<seq2seq4repair_space>for<seq2seq4repair_space>namespace<seq2seq4repair_space>'" + namespace ) + "'<seq2seq4repair_space>in<seq2seq4repair_space>attribute<seq2seq4repair_space>schemaLocation" } , SEVERITY_WARNING ) ;