Discontinuous elliptic problems involving the p(x)-Laplacian