Changes between Version 10 and Version 11 of FdoEnhancedSchemaNameSupport
- Timestamp:
- 10/19/07 09:49:23 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FdoEnhancedSchemaNameSupport
v10 v11 53 53 When no !FdoXmlFlags are specified, the FDO schema name is translated by prepending a default osgeo-defined schema prefix (http://fdo.osgeo.org/schemas/feature/) to the schema name and escaping any characters not allowed in a URI. For example, the FDO Schema "Water Service" becomes: 54 54 55 http://fdo.osgeo.org.schemas/feature/Water-x20-Service55 http://fdo.osgeo.org.schemas/feature/Water-x20-Service 56 56 57 57 ===== GML to FDO ===== … … 59 59 When no !FdoXmlFlags are specified, GML schema names are translated by dropping any http:// prefix and escaping '.' and ':' to '-dot-' and '-colon-' respectively. This means that the example schema name from the Overview: 60 60 61 http://www.mycity.on.ca/departments/transportation/Roads61 http://www.mycity.on.ca/departments/transportation/Roads 62 62 63 63 becomes: … … 73 73 simply becomes: 74 74 75 Roads .75 Roads 76 76 77 77 This is done to preserve round-trip fidelity. … … 287 287 288 288 • This is the most elegant solution but it lacks the simplicity of the Schema Name Attributes option: 289 o it requires the use of Schema Overrides, which are not popular with application developers. 289 o it requires the use of Schema Overrides, which are not popular with application developers.[[br]] 290 290 o the persistence problems are worse. Instead of needing to persist a name, a whole set of classes or an XML fragment must be persisted. 291 291 … … 382 382 383 383 • This option is viable but not recommended. The main reasons are: 384 o it departs from the !OpenGeospatial schema model 385 o it adds complication to the FDO Feature Schema model 386 o the implementation effort is a bit high. 384 o it departs from the !OpenGeospatial schema model[[br]] 385 o it adds complication to the FDO Feature Schema model[[br]] 386 o the implementation effort is a bit high.[[br]] 387 387 388 388 … … 392 392 393 393 {{{ 394 395 396 397 398 394 class FdoFeatureSchema 395 { 396 void SetNamespace( FdoString* namespace ); 397 FdoString* GetNamespace(); 398 } 399 399 }}} 400 400