xmp_profile=StringInfoToString(profile);
if (xmp_profile == (char *) NULL)
return(MagickFalse);
- if ((strstr(xmp_profile,"<rdf:RDF") == (char *) NULL) ||
+ if ((strstr(xmp_profile,"<x:x") == (char *) NULL) ||
+ (strstr(xmp_profile,"</x:x") == (char *) NULL) ||
+ (strstr(xmp_profile,"<rdf:RDF") == (char *) NULL) ||
+ (strstr(xmp_profile,"</rdf:RDF>") == (char *) NULL) ||
(strstr(xmp_profile,"<rdf:Description") == (char *) NULL) ||
- (strstr(xmp_profile,"<x:") == (char *) NULL))
+ (strstr(xmp_profile,"</rdf:Description>") == (char *) NULL))
{
xmp_profile=DestroyString(xmp_profile);
return(MagickFalse);