{ int len = version.length (); for (int i = 0; i < len; i++) { char c = version.charAt (i); if ('0' <= c && c <= '9') continue; if (c == '_' || c == '.' || c == ':' || c == '-') continue; if ('a' <= c && c <= 'z') continue; if ('A' <= c && c <= 'Z') continue; error ("illegal character in version", version, "1.0"); } }
{ int len = version.length(); for (int i = 0; i < len; i++) { char c = version.charAt(i); if ('0' <= c && c <= '9') { continue; } if (c == '_' || c == '.' || c == ':' || c == '-') { continue; } if ('a' <= c && c <= 'z') { continue; } if ('A' <= c && c <= 'Z') { continue; } error ("illegal character in version", version, "1.0"); } }
    private void checkLegalVersion (String version)    throws SAXException    {	int len = version.length ();	for (int i = 0; i < len; i++) {	    char c = version.charAt (i);	    if ('0' <= c && c <= '9')		continue;	    if (c == '_' || c == '.' || c == ':' || c == '-')		continue;	    if ('a' <= c && c <= 'z')		continue;	    if ('A' <= c && c <= 'Z')		continue;	    error ("illegal character in version", version, "1.0");	}    }