rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
private void parseNotationType ()
private void parseNotationType()
private void parseNotationType () throws Exception { requireWhitespace (); require ('('); parseEnumeration (true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
requireWhitespace (); require ('(');
requireWhitespace(); require('(');
private void parseNotationType () throws Exception { requireWhitespace (); require ('('); parseEnumeration (true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
parseEnumeration (true);
parseEnumeration(true);
private void parseNotationType () throws Exception { requireWhitespace (); require ('('); parseEnumeration (true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void parsePEReference ()
private void parsePEReference()
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) {
name = "%" + readNmtoken(true); require(';'); switch (getEntityType(name)) {
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.verror ("reference to undeclared parameter entity " + name);
handler.verror("reference to undeclared parameter entity " + name);
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushString (name, getEntityValue (name));
{ pushString(name, getEntityValue(name)); }
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushString (name, ' ' + getEntityValue (name) + ' ');
{ pushString(name, ' ' + getEntityValue(name) + ' '); }
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushString (null, " "); pushURL (true, name, getEntityIds (name), null, null, null, true);
{ pushString(null, " "); } pushURL(true, name, getEntityIds(name), null, null, null, true);
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushString (null, " ");
{ pushString(null, " "); }
private void parsePEReference () throws SAXException, IOException { String name; name = "%" + readNmtoken (true); require (';'); switch (getEntityType (name)) { case ENTITY_UNDECLARED: // VC: Entity Declared handler.verror ("reference to undeclared parameter entity " + name); // we should disable ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void parsePI ()
private void parsePI()
private void parsePI () throws SAXException, IOException { String name; boolean saved = expandPE; expandPE = false; name = readNmtoken (true); //NE08 if (name.indexOf(':') >= 0) error ("Illegal character(':') in processing instruction name ", name, null); if ("xml".equalsIgnoreCase (name)) error...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
name = readNmtoken (true);
name = readNmtoken(true);
private void parsePI () throws SAXException, IOException { String name; boolean saved = expandPE; expandPE = false; name = readNmtoken (true); //NE08 if (name.indexOf(':') >= 0) error ("Illegal character(':') in processing instruction name ", name, null); if ("xml".equalsIgnoreCase (name)) error...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
error ("Illegal character(':') in processing instruction name ", name, null); if ("xml".equalsIgnoreCase (name)) error ("Illegal processing instruction target", name, null); if (!tryRead (endDelimPI)) { requireWhitespace (); parseUntil (endDelimPI);
{ error("Illegal character(':') in processing instruction name ", name, null); } if ("xml".equalsIgnoreCase(name)) { error("Illegal processing instruction target", name, null); } if (!tryRead(endDelimPI)) { requireWhitespace(); parseUntil(endDelimPI);
private void parsePI () throws SAXException, IOException { String name; boolean saved = expandPE; expandPE = false; name = readNmtoken (true); //NE08 if (name.indexOf(':') >= 0) error ("Illegal character(':') in processing instruction name ", name, null); if ("xml".equalsIgnoreCase (name)) error...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.processingInstruction (name, dataBufferToString ());
handler.processingInstruction(name, dataBufferToString());
private void parsePI () throws SAXException, IOException { String name; boolean saved = expandPE; expandPE = false; name = readNmtoken (true); //NE08 if (name.indexOf(':') >= 0) error ("Illegal character(':') in processing instruction name ", name, null); if ("xml".equalsIgnoreCase (name)) error...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private boolean parseProlog ()
private boolean parseProlog()
private boolean parseProlog () throws Exception { parseMisc (); if (tryRead ("<!DOCTYPE")) { parseDoctypedecl (); parseMisc (); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
parseMisc ();
parseMisc();
private boolean parseProlog () throws Exception { parseMisc (); if (tryRead ("<!DOCTYPE")) { parseDoctypedecl (); parseMisc (); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (tryRead ("<!DOCTYPE")) { parseDoctypedecl (); parseMisc ();
if (tryRead("<!DOCTYPE")) { parseDoctypedecl(); parseMisc();
private boolean parseProlog () throws Exception { parseMisc (); if (tryRead ("<!DOCTYPE")) { parseDoctypedecl (); parseMisc (); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private String parseTextDecl (boolean ignoreEncoding)
private String parseTextDecl(boolean ignoreEncoding)
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (tryRead ("version")) {
if (tryRead ("version")) {
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
parseEq (); checkLegalVersion (version = readLiteral (flags));
parseEq(); checkLegalVersion(version = readLiteral(flags));
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (version.equals ("1.1")){ if (xmlVersion == XML_10){ error ("external subset has later version number.", "1.0", version);
if (version.equals("1.1")) { if (xmlVersion == XML_10) { error("external subset has later version number.", "1.0", version);
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.warn ("expected XML version 1.0, not: " + version);
handler.warn("expected XML version 1.0, not: " + version);
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
}else if(!version.equals ("1.0")) {
} else if (!version.equals("1.0")) {
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
requireWhitespace ();
requireWhitespace();
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
require ("encoding"); parseEq (); encodingName = readLiteral (flags);
require("encoding"); parseEq(); encodingName = readLiteral(flags);
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
setupDecoding (encodingName); skipWhitespace (); require ("?>");
{ setupDecoding(encodingName); } skipWhitespace(); require("?>");
private String parseTextDecl (boolean ignoreEncoding) throws SAXException, IOException { String encodingName = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; // Read an optional version. if (tryRead ("version")) { String version; parseEq (); checkLegalVersion (version = re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void parseUntil (String delim)
private void parseUntil(String delim)
private void parseUntil (String delim) throws SAXException, IOException { parseUntil (delim.toCharArray ()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
parseUntil (delim.toCharArray ());
parseUntil(delim.toCharArray());
private void parseUntil (String delim) throws SAXException, IOException { parseUntil (delim.toCharArray ()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private String parseXMLDecl (boolean ignoreEncoding)
private String parseXMLDecl(boolean ignoreEncoding)
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
require ("version"); parseEq (); checkLegalVersion (version = readLiteral (flags)); if (!version.equals ("1.0")){ if(version.equals ("1.1")){ handler.warn ("expected XML version 1.0, not: " + version);
require("version"); parseEq(); checkLegalVersion(version = readLiteral(flags)); if (!version.equals("1.0")) { if (version.equals("1.1")) { handler.warn("expected XML version 1.0, not: " + version);
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
}else {
} else {
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
boolean white = tryWhitespace ();
boolean white = tryWhitespace();
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (tryRead ("encoding")) {
if (tryRead("encoding")) {
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
error ("whitespace required before 'encoding='"); parseEq (); encodingName = readLiteral (flags);
{ error("whitespace required before 'encoding='"); } parseEq(); encodingName = readLiteral(flags);
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
setupDecoding (encodingName);
{ setupDecoding(encodingName); }
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
white = tryWhitespace (); if (tryRead ("standalone")) {
{ white = tryWhitespace(); } if (tryRead("standalone")) {
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
error ("whitespace required before 'standalone='"); parseEq (); standalone = readLiteral (flags); if ("yes".equals (standalone))
{ error("whitespace required before 'standalone='"); } parseEq(); standalone = readLiteral(flags); if ("yes".equals(standalone)) {
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
else if (!"no".equals (standalone)) error ("standalone flag must be 'yes' or 'no'");
} else if (!"no".equals(standalone)) { error("standalone flag must be 'yes' or 'no'"); }
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
skipWhitespace (); require ("?>");
skipWhitespace(); require("?>");
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.xmlDecl(version, encodingName, "yes".equals(standalone),
handler.xmlDecl(version, encodingName, docIsStandalone,
private String parseXMLDecl (boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void popInput ()
private void popInput()
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
String ename = (String) entityStack.pop ();
String ename = (String) entityStack.removeLast();
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
dataBufferFlush (); switch (sourceType) {
{ dataBufferFlush(); } switch (sourceType) {
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.endExternalEntity (ename); is.close ();
handler.endExternalEntity(ename); is.close();
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.endExternalEntity (ename); reader.close ();
handler.endExternalEntity(ename); reader.close();
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.endInternalEntity (ename);
{ handler.endInternalEntity(ename); }
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (inputStack.isEmpty ()) { throw new EOFException ("no more input");
if (inputStack.isEmpty()) { throw new EOFException("no more input");
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
Object input [] = (Object[]) inputStack.pop ();
Input input = (Input) inputStack.removeLast();
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
sourceType = ((Integer) input [0]).intValue (); externalEntity = (URLConnection) input [1]; readBuffer = (char[]) input [2]; readBufferPos = ((Integer) input [3]).intValue (); readBufferLength = ((Integer) input [4]).intValue (); line = ((Integer) input [5]).intValue (); encoding = ((Integer) input [6]).intValue (); re...
sourceType = input.sourceType; externalEntity = input.externalEntity; readBuffer = input.readBuffer; readBufferPos = input.readBufferPos; readBufferLength = input.readBufferLength; line = input.line; encoding = input.encoding; readBufferOverflow = input.readBufferOverflow; is = input.is; currentByteCount = input.curren...
private void popInput () throws SAXException, IOException { String ename = (String) entityStack.pop (); if (ename != null && doReport) dataBufferFlush (); switch (sourceType) { case INPUT_STREAM: handler.endExternalEntity (ename); is.close (); break; case INPUT_READER: handler.endExternalE...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void prefetchASCIIEncodingDecl ()
private void prefetchASCIIEncodingDecl()
private void prefetchASCIIEncodingDecl () throws SAXException, IOException { int ch; readBufferPos = readBufferLength = 0; is.mark (readBuffer.length); while (true) { ch = is.read (); readBuffer [readBufferLength++] = (char) ch; switch (ch) { case (int) '>': return; case -1: error ("...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
is.mark (readBuffer.length); while (true) { ch = is.read (); readBuffer [readBufferLength++] = (char) ch; switch (ch) {
is.mark(readBuffer.length); while (true) { ch = is.read(); readBuffer[readBufferLength++] = (char) ch; switch (ch) {
private void prefetchASCIIEncodingDecl () throws SAXException, IOException { int ch; readBufferPos = readBufferLength = 0; is.mark (readBuffer.length); while (true) { ch = is.read (); readBuffer [readBufferLength++] = (char) ch; switch (ch) { case (int) '>': return; case -1: error ("...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
error ("file ends before end of XML or encoding declaration.",
error("file ends before end of XML or encoding declaration.",
private void prefetchASCIIEncodingDecl () throws SAXException, IOException { int ch; readBufferPos = readBufferLength = 0; is.mark (readBuffer.length); while (true) { ch = is.read (); readBuffer [readBufferLength++] = (char) ch; switch (ch) { case (int) '>': return; case -1: error ("...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
error ("unfinished XML or encoding declaration");
{ error("unfinished XML or encoding declaration"); }
private void prefetchASCIIEncodingDecl () throws SAXException, IOException { int ch; readBufferPos = readBufferLength = 0; is.mark (readBuffer.length); while (true) { ch = is.read (); readBuffer [readBufferLength++] = (char) ch; switch (ch) { case (int) '>': return; case -1: error ("...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void pushCharArray (String ename, char ch[], int start, int length)
private void pushCharArray(String ename, char[] ch, int start, int length)
private void pushCharArray (String ename, char ch[], int start, int length) throws SAXException { // Push the existing status pushInput (ename); if (ename != null && doReport) { dataBufferFlush (); handler.startInternalEntity (ename); } sourceType = INPUT_INTERNAL; readBuffer = ch; readBufferPos = sta...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushInput (ename); if (ename != null && doReport) { dataBufferFlush (); handler.startInternalEntity (ename);
pushInput(ename); if (ename != null && doReport) { dataBufferFlush(); handler.startInternalEntity(ename);
private void pushCharArray (String ename, char ch[], int start, int length) throws SAXException { // Push the existing status pushInput (ename); if (ename != null && doReport) { dataBufferFlush (); handler.startInternalEntity (ename); } sourceType = INPUT_INTERNAL; readBuffer = ch; readBufferPos = sta...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void pushInput (String ename)
private void pushInput(String ename)
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive reference to entity", ename, null);
if (ename != null) { Iterator entities = entityStack.iterator(); while (entities.hasNext()) { String e = (String) entities.next(); if (e != null && e == ename) { error("recursive reference to entity", ename, null);
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
entityStack.push (ename);
entityStack.addLast(ename);
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (sourceType == INPUT_NONE) {
if (sourceType == INPUT_NONE) {
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
Object input[] = new Object [12];
Input input = new Input();
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
input [0] = new Integer (sourceType); input [1] = externalEntity; input [2] = readBuffer; input [3] = new Integer (readBufferPos); input [4] = new Integer (readBufferLength); input [5] = new Integer (line); input [6] = new Integer (encoding); input [7] = new Integer (readBufferOverflow); input [8] = is; input [9] = new...
input.sourceType = sourceType; input.externalEntity = externalEntity; input.readBuffer = readBuffer; input.readBufferPos = readBufferPos; input.readBufferLength = readBufferLength; input.line = line; input.encoding = encoding; input.readBufferOverflow = readBufferOverflow; input.is = is; input.currentByteCount = curren...
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
inputStack.push (input);
inputStack.addLast(input);
private void pushInput (String ename) throws SAXException { // Check for entity recursion. if (ename != null) { Enumeration entities = entityStack.elements (); while (entities.hasMoreElements ()) { String e = (String) entities.nextElement (); if (e != null && e == ename) { error ("recursive ref...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void pushString (String ename, String s)
private void pushString(String ename, String s)
private void pushString (String ename, String s) throws SAXException { char ch[] = s.toCharArray (); pushCharArray (ename, ch, 0, ch.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
char ch[] = s.toCharArray (); pushCharArray (ename, ch, 0, ch.length);
char[] ch = s.toCharArray(); pushCharArray(ename, ch, 0, ch.length);
private void pushString (String ename, String s) throws SAXException { char ch[] = s.toCharArray (); pushCharArray (ename, ch, 0, ch.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
private void pushURL ( boolean isPE,
private void pushURL(boolean isPE,
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
String ids [],
ExternalIdentifiers ids,
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
boolean doResolve ) throws SAXException, IOException
boolean doResolve) throws SAXException, IOException
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
dataBufferFlush (); scratch.setPublicId (ids [0]); scratch.setSystemId (ids [1]);
{ dataBufferFlush(); } scratch.setPublicId(ids.publicId); scratch.setSystemId(ids.systemId);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (doResolve) {
if (doResolve) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
source = handler.resolveEntity (isPE, ename, scratch, ids [2]); if (source == null) { handler.warn ("skipping entity: " + ename); handler.skippedEntity (ename);
source = handler.resolveEntity(isPE, ename, scratch, ids.baseUri); if (source == null) { handler.warn("skipping entity: " + ename); handler.skippedEntity(ename);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
systemId = source.getSystemId ();
systemId = source.getSystemId();
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
handler.warn ("missing system ID, using " + ids [1]); systemId = ids [1];
handler.warn ("missing system ID, using " + ids.systemId); systemId = ids.systemId;
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} else {
} else {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
scratch.setCharacterStream (reader); scratch.setByteStream (stream); scratch.setEncoding (encoding);
scratch.setCharacterStream(reader); scratch.setByteStream(stream); scratch.setEncoding(encoding);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
systemId = ids [1]; if (handler.getFeature (SAXDriver.FEATURE + "string-interning")) { handler.startExternalEntity (ename, systemId,
systemId = ids.systemId; if (handler.stringInterning) { handler.startExternalEntity(ename, systemId,
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} else { handler.startExternalEntity (ename, systemId,
} else { handler.startExternalEntity(ename, systemId,
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (source.getCharacterStream () != null) { if (source.getByteStream () != null) error ("InputSource has two streams!"); reader = source.getCharacterStream (); } else if (source.getByteStream () != null) { encoding = source.getEncoding ();
if (source.getCharacterStream() != null) { if (source.getByteStream() != null) error("InputSource has two streams!"); reader = source.getCharacterStream(); } else if (source.getByteStream() != null) { encoding = source.getEncoding();
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
stream = source.getByteStream (); else try { reader = new InputStreamReader ( source.getByteStream (),
{ stream = source.getByteStream(); } else { try { reader = new InputStreamReader(source.getByteStream(),
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} catch (IOException e) { stream = source.getByteStream (); } } else if (systemId == null) error ("InputSource has no URI!"); scratch.setCharacterStream (null); scratch.setByteStream (null); scratch.setEncoding (null);
} catch (IOException e) { stream = source.getByteStream(); } } } else if (systemId == null) { error("InputSource has no URI!"); } scratch.setCharacterStream(null); scratch.setByteStream(null); scratch.setEncoding(null);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
pushInput (ename);
pushInput(ename);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
readBuffer = new char [READ_BUFFER_MAX + 4];
readBuffer = new char[READ_BUFFER_MAX + 4];
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (reader != null) {
if (reader != null) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
tryEncodingDecl (true);
tryEncodingDecl(true);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (stream != null) {
if (stream != null) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} else {
} else {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
URL url = new URL (systemId); externalEntity = url.openConnection (); externalEntity.connect (); is = externalEntity.getInputStream ();
URL url = new URL(systemId); externalEntity = url.openConnection(); externalEntity.connect(); is = externalEntity.getInputStream();
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (!is.markSupported ()) { is = new BufferedInputStream (is);
if (!is.markSupported()) { is = new BufferedInputStream(is);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (encoding == null && externalEntity != null) {
if (encoding == null && externalEntity != null) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (!"file".equals (externalEntity.getURL ().getProtocol ())) {
if (!"file".equals(externalEntity.getURL().getProtocol())) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
encoding = externalEntity.getContentType ();
encoding = externalEntity.getContentType();
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (encoding==null) {
if (encoding == null) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} else { temp = encoding.indexOf ("charset");
} else { temp = encoding.indexOf("charset");
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
else {
} else {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if ((temp = encoding.indexOf (';')) > 0) encoding = encoding.substring (0, temp); if ((temp = encoding.indexOf ('=', temp + 7)) > 0) { encoding = encoding.substring (temp + 1);
if ((temp = encoding.indexOf(';')) > 0) { encoding = encoding.substring(0, temp); } if ((temp = encoding.indexOf('=', temp + 7)) > 0) { encoding = encoding.substring(temp + 1);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if ((temp = encoding.indexOf ('(')) > 0) encoding = encoding.substring (0, temp);
if ((temp = encoding.indexOf('(')) > 0) { encoding = encoding.substring(0, temp); }
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if ((temp = encoding.indexOf ('"')) > 0) encoding = encoding.substring (temp + 1, encoding.indexOf ('"', temp + 2)); encoding.trim (); } else { handler.warn ("ignoring illegal MIME attribute: "
if ((temp = encoding.indexOf('"')) > 0) { encoding = encoding.substring(temp + 1, encoding.indexOf('"', temp + 2)); } encoding.trim(); } else { handler.warn("ignoring illegal MIME attribute: "
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
if (encoding != null) {
if (encoding != null) {
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
setupDecoding (encoding);
setupDecoding(encoding);
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
} else { detectEncoding ();
} else { detectEncoding();
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush ()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java