bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/JspDocumentParser.java
private void checkPrefix(String uri, String qName) {

        int index = qName.indexOf(':');
        if (index != -1) {
            String prefix = qName.substring(0, index);
            pageInfo.addPrefix(prefix);
            if ("jsp".equals(prefix) && !JSP_URI.equals(uri)) {
                pageInfo.setIsJspPrefixHijacked(true);
            }
        }
    }
private void checkPrefix(String uri, String qName) {

        int index = qName.indexOf(':');
        if (index != -1) {
            String prefix = qName.substring(0, index);
            pageInfo.addPrefix(prefix);
            if ("jsp".equals(prefix) && !JSP_URI.equals(uri)) {
                pageInfo.setIsJspPrefixHijacked(true);
            }
        }
    }
private void checkPrefix ( String uri , String qName ) { int index = qName . indexOf ( ' ' ) ; if ( index != - 1 ) { String prefix = qName . substring ( 0 , index ) ; pageInfo . addPrefix ( prefix ) ; if ( "jsp" . equals ( prefix ) && ! JSP_URI . equals ( uri ) ) { pageInfo . setIsJspPrefixHijacked ( true ) ; } } }
/*
Checks the given URI and qname to see if they hijack the 'jsp' prefix,
which would be the case if qName contained the 'jsp' prefix and
uri was different from http://java.sun.com/JSP/Page.

@param uri The URI to check
@param qName The qname to check
/ * Checks the given URI and qname to see if they hijack the jsp prefix which would be the case if qName contained the jsp prefix and uri was different from http : // java . sun . com / JSP / Page .