rem:  if (ruleNodes.length == 0) { return []; } 
context:     parseUserStyle: function(xmlNode, name) {        var userStyle = new OpenLayers.Style(this.defaultStyle, {name: name});                userStyle.isDefault = (            this.parseProperty(xmlNode, this.sldns, "IsDefault") == 1        );                // get the name of the layer if we have a NamedLayer        var namedLayerNode = xmlNode.parentNode;        var nameNodes = this.getElementsByTagNameNS(            namedLayerNode, this.sldns, "Name"        );        if (namedLayerNode.nodeName.indexOf("NamedLayer") != -1 &&                nameNodes &&                nameNodes.length > 0 &&                nameNodes[0].parentNode == namedLayerNode) {            userStyle.layerName = this.getChildValue(nameNodes[0]);        }                 var ruleNodes = this.getElementsByTagNameNS(            xmlNode, this.sldns, "Rule"        );        // I don't think you really want to return [] here        if (ruleNodes.length == 0) { return []; }        var rules = userStyle.rules;        var ruleName;        for (var i=0; i<ruleNodes.length; i++) {            ruleName = this.parseProperty(ruleNodes[i], this.sldns, "Name");            rules.push(this.parseRule(ruleNodes[i], ruleName));        }        return userStyle;    },        
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/59dd8b2d99a85cbc4c4388d3982cd1076765b114/SLD.js/buggy/lib/OpenLayers/Format/SLD.js