/**
* According to FXG 2.0 spec., <Library> must be before <mask> and any graphical element.
*/
if (mask != null || children != null)
{
problems.add(new FXGInvalidLibraryElementProblem(getDocumentPath(), child.getStartLine(), child.getStartColumn()));
return;
}
if (library == null)
{