code: @Override
      protected Schema newSchema(String xsdName) throws SAXException {
          SchemaFactory schemaFactory = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI);
  
          // Obtain the xsd file from the jpa container bundle
          String resName = "com/ibm/ws/jpa/schemas/javaee/" + xsdName;
          URL xsdUrl = JPAPXml.class.getClassLoader().getResource(resName);
          if (xsdUrl == null) {
              throw new RuntimeException(resName + " not found");
          }
  
          Schema schema = schemaFactory.newSchema(xsdUrl);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "newSchema : " + Util.identity(schema));
  
          return schema;
      }
docs: {@inheritDoc}