Ejemplo n.º 1
0
        protected internal virtual Schema createSchema(string location, ClassLoader classLoader)
        {
            URL cmmnSchema = ReflectUtil.getResource(location, classLoader);

            try
            {
                return(schemaFactory.newSchema(cmmnSchema));
            }
            catch (SAXException)
            {
                throw new ModelValidationException("Unable to parse schema:" + cmmnSchema);
            }
        }