SLDParser styleReader = new SLDParser(factory, newSldFile.toURL());
Style[] readStyles = null;
Style newStyle;
try {
readStyles = styleReader.readXML();
if (readStyles.length == 0) {
//I think our style parser does pretty much no error reporting.
//This is one of the many reasons we need a new SLD parser.
//We could add new exceptions to it, but it's really just