checkImportExportSyntax(elements, true);
checkImportExportSyntax(elements, true, jreBundle);
	private static void validateHeaders(Dictionary manifest) throws BundleException {		for (int i = 0; i < DEFINED_OSGI_VALIDATE_HEADERS.length; i++) {			String header = (String) manifest.get(DEFINED_OSGI_VALIDATE_HEADERS[i]);			if (header != null) {				ManifestElement[] elements = ManifestElement.parseHeader(DEFINED_OSGI_VALIDATE_HEADERS[i], header);				checkForDuplicateDirectives(elements);				if (DEFINED_OSGI_VALIDATE_HEADERS[i] == Constants.REEXPORT_PACKAGE)					checkForUsesDirective(elements);				if (DEFINED_OSGI_VALIDATE_HEADERS[i] == Constants.IMPORT_PACKAGE || DEFINED_OSGI_VALIDATE_HEADERS[i] == Constants.DYNAMICIMPORT_PACKAGE)					checkImportExportSyntax(elements, false);				if (DEFINED_OSGI_VALIDATE_HEADERS[i] == Constants.EXPORT_PACKAGE)					checkImportExportSyntax(elements, true);			} else if (DEFINED_OSGI_VALIDATE_HEADERS[i] == Constants.BUNDLE_SYMBOLICNAME) {				throw new BundleException(NLS.bind(StateMsg.HEADER_REQUIRED, Constants.BUNDLE_SYMBOLICNAME));			}		}	}