docs: public void checkForValidOffsets(final Node node)
      {
          int offset = 0;
  
          for (final Type edt : containedTypeByNameMap.values())
          {
              final int offsetAttribute = edt.offsetAttribute();
  
              if (-1 != offsetAttribute)
              {
                  if (offsetAttribute < offset)
                  {
                      XmlSchemaParser.handleError(
                          node,
                          String.format("composite element \"%s\" has incorrect offset specified", edt.name()));
                  }
  
                  offset = offsetAttribute;
              }
  
              offset += edt.encodedLength();
          }
      }