Wednesday was a lackluster day for the stock market, with major market benchmarks finishing the trading session mixed. The S&P 500 and Nasdaq Composite rose slightly, but the Dow Jones Industrials lost ground as the positive influence of gains in the financial sector was offset by falling energy prices.