Revision 6484
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/writers/gml/GMLSchemaCreator.java | ||
---|---|---|
53 | 53 |
* |
54 | 54 |
* $Id$ |
55 | 55 |
* $Log$ |
56 |
* Revision 1.1 2006-07-19 12:29:39 jorpiell |
|
56 |
* Revision 1.2 2006-07-21 08:56:59 jorpiell |
|
57 |
* Se ha modificado la versi?n del esquema |
|
58 |
* |
|
59 |
* Revision 1.1 2006/07/19 12:29:39 jorpiell |
|
57 | 60 |
* A?adido el driver de GML |
58 | 61 |
* |
59 | 62 |
* |
... | ... | |
66 | 69 |
public final static String GML_GEOMETRY = "the_geom"; |
67 | 70 |
public final static String NAMESPACE = "cit"; |
68 | 71 |
public final static String TARGET_NAMESPACE = "http://www.gvsig.com/cit"; |
72 |
public final static String GML_VERSION = "2.1.2"; |
|
69 | 73 |
|
70 | 74 |
private static String featureName = null; |
71 | 75 |
private static String featureType = null; |
... | ... | |
117 | 121 |
string.append("xmlns:gml=\"http://www.opengis.net/gml\" "); |
118 | 122 |
string.append("xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" "); |
119 | 123 |
string.append("elementFormDefault=\"qualified\" "); |
120 |
string.append("attributeFormDefault=\"unqualified\" version=\"1.0\">");
|
|
124 |
string.append("attributeFormDefault=\"unqualified\" version=\"" + GML_VERSION + "\">");
|
|
121 | 125 |
string.append("<xs:import namespace=\"http://www.opengis.net/gml\" "); |
122 |
string.append("schemaLocation=\"http://schemas.opengeospatial.net/gml/2.1.2/feature.xsd\"/");
|
|
126 |
string.append("schemaLocation=\"feature.xsd\"/"); |
|
123 | 127 |
string.append(">"); |
124 | 128 |
return string.toString(); |
125 | 129 |
} |
Also available in: Unified diff