bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Parser.java
private String parseQuoted(String tx) {
	StringBuilder buf = new StringBuilder();
	int size = tx.length();
	int i = 0;
	while (i < size) {
	    char ch = tx.charAt(i);
	    if (ch == '&') {
		if (i+5 < size && tx.charAt(i+1) == 'a'
		        && tx.charAt(i+2) == 'p' && tx.charAt(i+3) == 'o'
		        && tx.charAt(i+4) == 's' && tx.charAt(i+5) == ';') {
		    buf.append('\'');
		    i += 6;
		} else if (i+5 < size && tx.charAt(i+1) == 'q'
			   && tx.charAt(i+2) == 'u' && tx.charAt(i+3) == 'o'
			   && tx.charAt(i+4) == 't' && tx.charAt(i+5) == ';') {
		    buf.append('"');
		    i += 6;
		} else {
		    buf.append(ch);
		    ++i;
		}
	    } else if (ch == '\\' && i+1 < size) {
		ch = tx.charAt(i+1);
		if (ch == '\\' || ch == '\"' || ch == '\'' || ch == '>') {
		    buf.append(ch);
		    i += 2;
		} else {
		    buf.append('\\');
		    ++i;
		}
	    } else {
		buf.append(ch);
		++i;
	    }
	}
	return buf.toString();
    }
private String parseQuoted(String tx) {
	StringBuilder buf = new StringBuilder();
	int size = tx.length();
	int i = 0;
	while (i < size) {
	    char ch = tx.charAt(i);
	    if (ch == '&') {
		if (i+5 < size && tx.charAt(i+1) == 'a'
		        && tx.charAt(i+2) == 'p' && tx.charAt(i+3) == 'o'
		        && tx.charAt(i+4) == 's' && tx.charAt(i+5) == ';') {
		    buf.append('\'');
		    i += 6;
		} else if (i+5 < size && tx.charAt(i+1) == 'q'
			   && tx.charAt(i+2) == 'u' && tx.charAt(i+3) == 'o'
			   && tx.charAt(i+4) == 't' && tx.charAt(i+5) == ';') {
		    buf.append('"');
		    i += 6;
		} else {
		    buf.append(ch);
		    ++i;
		}
	    } else if (ch == '\\' && i+1 < size) {
		ch = tx.charAt(i+1);
		if (ch == '\\' || ch == '\"' || ch == '\'' || ch == '>') {
		    buf.append(ch);
		    i += 2;
		} else {
		    buf.append('\\');
		    ++i;
		}
	    } else {
		buf.append(ch);
		++i;
	    }
	}
	return buf.toString();
    }
private String parseQuoted ( String tx ) { StringBuilder buf = new StringBuilder ( ) ; int size = tx . length ( ) ; int i = 0 ; while ( i < size ) { char ch = tx . charAt ( i ) ; if ( ch == ' ' ) { if ( i + 5 < size && tx . charAt ( i + 1 ) == ' ' && tx . charAt ( i + 2 ) == ' ' && tx . charAt ( i + 3 ) == ' ' && tx . charAt ( i + 4 ) == ' ' && tx . charAt ( i + 5 ) == ' ' ) { buf . append ( ' ' ) ; i += 6 ; } else if ( i + 5 < size && tx . charAt ( i + 1 ) == ' ' && tx . charAt ( i + 2 ) == ' ' && tx . charAt ( i + 3 ) == ' ' && tx . charAt ( i + 4 ) == ' ' && tx . charAt ( i + 5 ) == ' ' ) { buf . append ( ' ' ) ; i += 6 ; } else { buf . append ( ch ) ; ++ i ; } } else if ( ch == ' ' && i + 1 < size ) { ch = tx . charAt ( i + 1 ) ; if ( ch == ' ' || ch == ' ' || ch == ' ' || ch == ' ' ) { buf . append ( ch ) ; i += 2 ; } else { buf . append ( ' ' ) ; ++ i ; } } else { buf . append ( ch ) ; ++ i ; } } return buf . toString ( ) ; }
may be send to EL processor.
may be send to EL processor .