Hello,
i’m trying to use the validation engine to check features before they are inserted or updated. I configured the following XML file, to check that all features are not null or zero: <?xml version="1.0" encoding="UTF-8"?> <suite xmlns="testSuiteSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="testSuiteSchema /data/capabilities/validate/testSuiteSchema.xsd"> <name>FeatureCheck</name> <description>Integrity Check Description</description> <test> <name>Attr Check</name> <description>Checks all id's are non null, non zero values.</description> <plugin>Null Zero</plugin> <argument> <name>attributeName</name> <string>*</string> </argument> </test> </suite>
But if I do an update or insert transaction, it will be successful even if the attribute is null or zero. Also the plugins are configured well. It seems to me that this check is never made. So, do I have to activate this validation engine somewhere or anything else? Will a transaction be cancelled if the check fails? Best regards
|
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users