return new Compiler().compile(code, m_posMap, machine, false);
}
catch (CompilerException e)
{
MetadataValidationException x = new MetadataValidationException(e);
setProperties(x);
String sURL = e.getURL();
if (sURL != null)
{
int i = URL_PREFIX.length() + m_sName.length() + 1;
int k = sURL.indexOf('.', i);
if (k >= 0)
{
int m = sURL.indexOf('.', k + 1);
if (m >= 0)
{
x.setProperty("argument", sURL.substring(m + 1));
}
else
{
m = sURL.length();
}
x.setProperty("mapping", sURL.substring(k + 1, m));
}
else
{
x.setProperty("script", sURL.substring(i));
}
}
throw x;
}