You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet when it is written back out, the Description object is lost:
}elseif(Type== XmpNodeType.Simple ||Type== XmpNodeType.Struct){varnode= XmpTag.CreateNode(parent.OwnerDocument, Name, Namespace);
node.InnerText =Value;if(Type== XmpNodeType.Struct){// Structured types are always handled as a parseType=Resource node. This way, IsReallySimpleType will// not match for child nodes, which makes sure they are added as extra nodes to this node. Does the// trick well, unit tests that prove this are in XmpSpecTest.XmlAttributeattr= XmpTag.CreateAttribute(parent.OwnerDocument, XmpTag.PARSE_TYPE_URI, XmpTag.RDF_NS);
attr.Value ="Resource";
node.Attributes.Append(attr);}
AddAllQualifiersTo (node);
AddAllChildrenTo (node);
parent.AppendChild(node);}
This is causing an unmodified document to be written out differently, breaking apps which read face data.
When parsing XMP, it appears to set the tag parent type as a struct when it encounters a Description:
Yet when it is written back out, the Description object is lost:
This is causing an unmodified document to be written out differently, breaking apps which read face data.
Before (working):
After (TagLib-generated, broken):
The text was updated successfully, but these errors were encountered: