FDO API Reference Feature Data Objects

FDO_API void FdoXmlFlags::SetSchemaNameAsPrefix FdoBoolean  schemaNameAsPrefix  ) 
 

Sets the Schema Name as Prefix flag. This flag controls how an FDO Feature Schema name is generated when the schema is read from GML.

Parameters:
schemaNameAsPrefix Input when true, the Feature Schema name is set to the prefix from the xmlns namespace declaration for the schema's targetNamespace. The target namespace prefix flag on this object is ignored in this case. If no suitable namespace declaration can be found, the Feature Schema name is set as if this flag were false. Schemas cannot be round-tripped when this flag is true. Therefore, it may only be set to true when the current ErrorLevel is VeryLow. Caution must be observed when using this flag. Unpredictable results can occur if a GML Schema uses different prefixes for its targetNamespace in different parts of the schema.

Comments or suggestions? Send us feedback.