Ok, I think the minimal object form created by ObjectFactory is invalid. I'll have to take a look at that because any object you create from ObjectFactory should satisfy the minimum XML content model requirements of its respective XML schema.
What about creating a fresh >= 2.3.0 layer definition in Maestro, snip its XML and using ResourceTypeRegistry to create a Layer Definition object from this XML snippet? Does that work for you? - Jackie -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-create-new-empty-vector-layer-definition-tp4465014p4471167.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users