Revision 40799 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.impl/src/main/java/org/gvsig/sldsupport/impl/sld1_0_0/parsing/expression/FunctionElement.java
FunctionElement.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
parser.require(KXmlParser.START_TAG, null, FilterTags.FUNCTION); |
21 | 21 |
String fname = parser.getAttributeValue(null, SLDTags.NAME_ATTR); |
22 |
if (fname == null) { |
|
23 |
throw new SLDReadException("Attribute 'name' not found in SLD function"); |
|
24 |
} |
|
22 | 25 |
SLDFunction resp = new SLDFunction(); |
23 | 26 |
resp.setFunctionName(fname); |
24 | 27 |
|
Also available in: Unified diff