Select to view content in your preferred language

Implement xml syntax error messages for metadata import tool.

194
0
08-19-2024 07:24 AM
Status: Open
Labels (1)
GrishaPost
Emerging Contributor

Hello, 

It would be very helpful if there were error notifications in ArcGIS Pro when a user imports metadata with incorrectly configured characters.

I was importing already defined field definitions from Excel with ampersands and less than and greater than symbols.

For example, one field had a definition: 

<attrdef> Field definition for Population (<1000) during 2023 & 2024 </attrdef>

When I tried to import the fgdc metadata from an xml document with this field, no field attributes were populated. I found out my error by opening the metadata into VScode and using Red Hat's xml extension to identify incorrectly configured characters so now the attribute definition is:

<attrdef> Field definition for Population (&lt;1000) during 2023 &amp; 2024 </attrdef>

I am fairly new to importing xml metadata into ArcGIS Pro and having error messages for misconfigured characters would be very helpful. 

Thank you!