I just notice something when playing around with styles and the Java2DRenderer. It seems that the rules are processed in the order that features appear in the feature collection. Whereas the SLD spec says: "Rules should be placed [in the SLD document] in the order of priority in a UserStyle and stylers should attempt to render the higher priority rules over the top of the lower priority rules."
So perhaps the iteration needs to change so that you do a reverse iteration over the rules and within that you then iterate over the feature appling the rule if the feature compiles with the FeatureTypeStyle name and the rules filter.
Am I reading the spec (and the code) right here? What are other peoples opinions on the interpretation. I bring this up because as it is, I was playing around with highlighting single point features, but if the feature to highlight appears early in the collection and there are other features nearby, then the other features can sometimes be rendered over the highlighted feature.
Information Exploitation Group
Command and Intelligence Environments Branch
Command and Control Division
Defence Science and Technology Organisation
sean.geoghegan@... ph +61 08 82595895