Closed bfrichet3 closed 2 years ago
Dear @bfrichet3,
the encoding you used is right, the attributes with "CharacterString" dataType contain only text without additional child elements.
As yuo can see in the test report, the "Schema validation" test in the "Conformance class: INSPIRE GML application schemas, General requirements" is passed.
Dear @fabiovinci
I am not totally convinced that is this way of writing is compliant with IR/ISO regulations. As you may know in the ISO 191xx norms, there is always an explicit gco:CharacterString tag, like in the ISO 19139 metadata records.
In my opinion, it is not clear if IR requires such an extra tag or not.
Regards
Dear @bfrichet3,
the "CharacterString" dataType of the nationalCode
attribute is derived from ISO19103, as you can see from the screenshot below:
Following the profile of the conceptual model defined in the ISO 19100 series of International Standards implemented by GML (Annex D of OpenGIS® Geography Markup Language (GML) Encoding Standard), the “CharacterString” is implemented by xsd:string.
Therefore in the XSD, this dataType is implemented as a simple type:
Regarding the metadata, the ISO19139 defined an additional complex type
which is used as dataType for some metadata elements:
For these reasons, there is a different encoding in the GML and in the metadata for the same dataType.
thank you for your clarification!
Dear Sir or Madam
I hope you are all right.
I have a question concerning the way of instatiating gmd:CharacterString objects in datasets' GML, for instance as I want to express the nationalCode attribute of one AdministrativeUnit object.
As I understand IR 1089/2010 I should instantiate one gmd:CharacterString tag inside a au:nationalCode. But I cannot find any GML files with such a structure and as I tested a GML from switzerland I didn't get any message about that problem. Should I understand that attributes with CharacterString ranges needn't any gco:CharacterString tag or is it something else (like a test that hasn't yet been implemented).
Regards testAUGMLSWITZERLAND.zip