key = peReference.substring(1,peReference.length()-1);
value = (String)parameterEntities.get(key);
if ( value == null ) {
String err = "Initial Parser: parameter entity named \"" + key;
err += "\" has not been defined, while is tried to be referenced...";
{if (true) throw new DTDException(err);}
} else {
replacementText += value;
}
break;
default:
jj_la1[4] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
jj_consume_token(END_DQ);
break;
case START_SQ:
jj_consume_token(START_SQ);
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ENTITY_VALUE_TEXT_SQ:
case PE_REFERENCE_SQ:
break;
default:
jj_la1[5] = jj_gen;
break label_3;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ENTITY_VALUE_TEXT_SQ:
token = jj_consume_token(ENTITY_VALUE_TEXT_SQ);
replacementText += token.image;
break;
case PE_REFERENCE_SQ:
token = jj_consume_token(PE_REFERENCE_SQ);
peReference = token.image;
key = peReference.substring(1,peReference.length()-1);
value = (String)parameterEntities.get(key);
if ( value == null ) {
String err = "Initial Parser: parameter entity named \"" + key;
err += "\" has not been defined, while is tried to be referenced...";
{if (true) throw new DTDException(err);}
} else {
replacementText += value;
}
break;
default: