Author: desruisseaux
Date: Sat Feb 17 10:13:57 2018
New Revision: 1824579

URL: http://svn.apache.org/viewvc?rev=1824579&view=rev
Log:
Add a renaming rule for a property that was mispelled in legacy ISO 
19115-2:2009.

Modified:
    
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
    
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt

Modified: 
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
URL: 
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java?rev=1824579&r1=1824578&r2=1824579&view=diff
==============================================================================
--- 
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
 [UTF-8] (original)
+++ 
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
 [UTF-8] Sat Feb 17 10:13:57 2018
@@ -87,6 +87,10 @@ final class FilterVersion {
         // Metadata for Data Quality
         r = new Replacement(LegacyNamespaces.GMD, "valueRecordType", 
"valueType");
         ISO19139.exports.put(Namespaces.MDQ, r);
+
+        // Metadata for Acquisition
+        r = new Replacement(LegacyNamespaces.GMD, "objectiveOccurence", 
"objectiveOccurance");
+        ISO19139.exports.put(Namespaces.MAC, r);
         /*
          * For the way back from legacy ISO 19139:2007 to new ISO 
19115-3:2016, we must rely on
          * FilteredReader (do NOT declare entries in 'imports', because some 
namespaces must be

Modified: 
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt
URL: 
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt?rev=1824579&r1=1824578&r2=1824579&view=diff
==============================================================================
--- 
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt
 [UTF-8] (original)
+++ 
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt
 [UTF-8] Sat Feb 17 10:13:57 2018
@@ -224,7 +224,7 @@ http://standards.iso.org/iso/19115/-3/ma
     extent
     function
     identifier
-    objectiveOccurence
+    objectiveOccurance/objectiveOccurence
     pass
     priority
     sensingInstrument


Reply via email to