String acceptableURLs[] = {DTDRegistry.SUN_EJBJAR_200_DTD_SYSTEM_ID,
DTDRegistry.SUN_EJBJAR_210_DTD_SYSTEM_ID};
boolean foundDOCTYPE = false, foundPubid = false, foundURL = false;
EjbBundleDescriptorImpl ejbBundleDesc = descriptor.getEjbBundleDescriptor();
EjbBundleRuntimeNode ejbBundleRuntimeNode = new EjbBundleRuntimeNode(ejbBundleDesc);
String s = ejbBundleRuntimeNode.getDocType();
if(s != null) {
if(s.indexOf("DOCTYPE") > -1)
foundDOCTYPE = true;
if(foundDOCTYPE){
for (int i=0;i<acceptablePubidLiterals.length;i++) {