Tutorial -- Handling Translation Errors
This time things did not go quite so well. A "Translation Warning" panel has popped up along with the expected Result panel. You are being warned that although you have met the requirements for a minimal mdJSON record, there are still one or more additional requirements needed to generate a valid ISO 19115-2 record.
No problem. The message informs us that we are missing a date for the main resource citation. Let's break the message down by parts before we add the date.
The message level can be either Error, Warning, or Notice. In general, all message levels will still generate a metadata record. The message's level speaks more to how well the generated metadata record conforms to the requested standard. We will have more to say on this topic when we discuss translation in detail. For now, the best approach is to fill in all missing data identified by either an Error or Warning message.
The message. In this case "citation dates are missing."
The "Issued From" indicator tells which mdTranslator module issued the message. This will be one of the mdTranslator readers or writers. In our example the message was issued by the "ISO 19115-2 writer."
A message context is provided to help you find the offending section of your metadata record. For instance, as discussed earlier, Citation is used in many place throughout the metadata record. It would be insufficient to simply say "citation dates are missing". For which citation?
Context tells us the offending citation is the "main resource citation". Which is not surprising since it's the only Citation we have entered so far.
Let's add the missing date.
Enter a main resource citation date.
- Click the button next to the "My First Metadata Record" in the Primary Sidebar.
- Click "Citation" on the Fast Scrolling section of the Secondary Sidebar to scroll Citation to the top.
- Click the Edit button on the Citation Panel Title Bar.
- On the Dates panel click the Add Date button
- Add a date
- Choose a date type
- Save your edit if "AutoSave" is not "On"
With our citation date entered let's go back and try the translation to ISO one more time ...
Worked for me! How about you?
Now there are a lot of missing elements! FGDC CSDGM has more required elements than either mdJSON or ISO. But we don't need to add all those missing elements for this exercise. Let's just move on to "Exporting Records."