code: protected void checkLength(final Element parent, final String childName, final int minLen, final int maxLen) throws FeedException {
          final Element child = parent.getChild(childName, getFeedNamespace());
          if (child != null) {
              if (minLen > 0 && child.getText().length() < minLen) {
                  throw new FeedException("Invalid " + getType() + " feed, " + parent.getName() + " " + childName + "short of " + minLen + " length");
              }
              if (maxLen > -1 && child.getText().length() > maxLen) {
                  throw new FeedException("Invalid " + getType() + " feed, " + parent.getName() + " " + childName + "exceeds " + maxLen + " length");
              }
          }
      }
docs: maxLen == -1 means unlimited.