add declarativePolygon edit xmlCompiler