ktmchugh70

Checking for exact text in metadata

Discussion created by ktmchugh70 on May 7, 2013
Latest reply on May 17, 2013 by jcary-esristaff
Hi there,

[I] am trying to verify a chunk of text in my metadata. I have a section of text,several sentences long, that should be present in the Use Constraints section of my metadata. At this time I am using ESRI format but I will also need to check FGDC. I have a custom
check set up and it reads as follows (the actual text is several sentences long):
/metadata/idinfo/useconst [(. = "These data are provided by ...xxyyzz...")]

When I verify, the message says that "The expression was verified correctly." However, when I run the check, it comes back with no errors, even when I have altered the text, so I know there are errors. I want the check to throw an error if anything between " " is
not exactly as it is shown in the check.

Is there something extra I need to do, to indicate that I am checking for exact text?

Thanks so much!

Outcomes