{
child=GetXMLTreeChild(node,(const char *) NULL);
content=GetXMLTreeContent(node);
- if (child == (XMLTreeInfo *) NULL && SkipXMPValue(content) ==
- MagickFalse)
+ if ((child == (XMLTreeInfo *) NULL) &&
+ (SkipXMPValue(content) == MagickFalse))
(void) AddValueToSplayTree((SplayTreeInfo *) image->properties,
- ConstantString(GetXMLTreeTag(node)),
- ConstantString(content));
+ ConstantString(GetXMLTreeTag(node)),ConstantString(content));
while (child != (XMLTreeInfo *) NULL)
{
content=GetXMLTreeContent(child);
if (SkipXMPValue(content) == MagickFalse)
(void) AddValueToSplayTree((SplayTreeInfo *) image->properties,
- ConstantString(GetXMLTreeTag(child)),
- ConstantString(content));
+ ConstantString(GetXMLTreeTag(child)),ConstantString(content));
child=GetXMLTreeSibling(child);
}
node=GetXMLTreeSibling(node);
root->node=xml_info;
}
-static const char *ignore_tags[3] =
-{
- "rdf:Bag",
- "rdf:Seq",
- (const char *)NULL
-};
+static const char
+ *ignore_tags[3] =
+ {
+ "rdf:Bag",
+ "rdf:Seq",
+ (const char *) NULL
+ };
-static inline MagickBooleanType CanIgnoreTag(const char *tag)
+static inline MagickBooleanType IsSkipTag(const char *tag)
{
register ssize_t
i;
utf8=DestroyString(utf8);
return(&root->root);
}
- if (ignore_depth == 0 && CanIgnoreTag(tag) == MagickFalse)
+ if ((ignore_depth == 0) && (IsSkipTag(tag) == MagickFalse))
{
ParseOpenTag(root,tag,attributes);
(void) ParseCloseTag(root,tag,exception);
if ((*p == '>') || ((*p == '\0') && (terminal == '>')))
{
*p='\0';
- if (ignore_depth == 0 && CanIgnoreTag(tag) == MagickFalse)
+ if ((ignore_depth == 0) && (IsSkipTag(tag) == MagickFalse))
ParseOpenTag(root,tag,attributes);
else
ignore_depth++;