code: private void recordCompatibilityInfo(JSPrimitive access, JSchema accSchema,
        JSPrimitive encoding, JSchema encSchema) throws JMFSchemaViolationException
    {
      if (access.getTypeCode() == encoding.getTypeCode())
        recordOnePair(access, accSchema, encoding, encSchema);
      else {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JmfTr.debug(this, tc, "Compatibility violation (primitive type mismatch):"
                                               + " access " + access
                                               + ", access TypeCode " + access.getTypeCode()
                                               + ", encoding " + encoding
                                               + ", encoding TypeCode " + encoding.getTypeCode()
                                               );
        violation(access, encoding);
      }
    }
docs: or signal a violation if they aren't compatible.