Using the latest version of Adobe Illustrator, I've encountered a possible bug in the way variable libraries are saved and loaded. Illustrator allows more than one object to be bound to a variable, provided each object sharing a variable also share variable type compatibility, such as visibility or text-content. This provides a way to share variable values, for instance, when variable title or other text might need to appear in more than one location of a design. This one-to-many relationship between variables and objects seems to work fine until I try to save or load the variable library. Whenever I try to load a saved library, I get the error message, "The incoming variable library is invalid." I inspected the XML variable library file that is generated when saved and discovered that the list of declared variables within it is incorrect; some variables are omitted while others are duplicated. The variable data sets, which detail the values for each variable in each dataset, are generated correctly in the XML file; one variable name and one value for each variable and for each dataset. So, I tried correcting the variable declaration. This appears to correct part of the problem, since I now get a confirmation dialogue box, asking if it is okay to replace/overwrite existing variable values. However, after confirming, I get the error, "The filter cannot complete because of an unknown error." So, now I am wondering if Illustrator ever officially supported this one-to-many relationship between variables and objects, which I've been using. Artificial Intelligence seems to think so. But, I cannot find any evidence of that in cited sources.
... View more