code: private TagScript createTagScript(QName n, Map<?, ?> attributes) throws JellyException {
          TagLibrary lib = context.getTagLibrary(n.getNamespaceURI());
          if(lib!=null) {
              String localName = n.getLocalPart();
  
              TagScript tagScript = lib.createTagScript(localName, null/*this parameter appears to be unused.*/);
              if (tagScript==null)    tagScript = lib.createTagScript(localName.replace('_','-'), null);
  
              if (tagScript!=null) {
                  if (attributes != null) {
                      for (Entry e : attributes.entrySet()) {
                          Object v = e.getValue();
                          if (v!=null)
                              tagScript.addAttribute(e.getKey().toString(), new ConstantExpression(v));
                      }
                  }
  
                  return tagScript;
              }
          }
  
          // otherwise treat it as a literal.
          return null;
      }
docs: Create a tag script if the given QName is a taglib invocation, or return null
  to handle it like a literal static tag.