diff --git a/test/functional/J9 Exclude File Support/src/com/oti/j9/exclude/XMLParser.java b/test/functional/J9 Exclude File Support/src/com/oti/j9/exclude/XMLParser.java index bc99ee7857e..41d39441a08 100644 --- a/test/functional/J9 Exclude File Support/src/com/oti/j9/exclude/XMLParser.java +++ b/test/functional/J9 Exclude File Support/src/com/oti/j9/exclude/XMLParser.java @@ -255,10 +255,10 @@ private String _scan_attribute_value() throws XMLException XMLStringBuffer buffer = new XMLStringBuffer(); - do { + while (_fScan != '"') { buffer.append(_fScan); scan_char(); - } while ( _fScan != '"' ); + } // Advance past the final quote scan_char(); @@ -396,6 +396,9 @@ private void _scan_element_or_instruction() throws XMLException Hashtable attributes = _scan_attributes(); // Notify the content handler + if (VERBOSE) { + System.out.format("%nAbout to start <%s> at level %d%n", elementName, _fLevel + 1); + } _fDocumentHandler.xmlStartElement(elementName, attributes); _fLevel++;