# File lib/aeolus_cli/command/build_command.rb, line 61
      def validate_xml_schema(xml)
        if @options[:validation]
          errors = validate_xml_document(File.dirname(__FILE__) + "/../../../examples/tdl.rng", xml)
          if errors.length > 0
            puts "ERROR: The given Template does not conform to the TDL Schema, see below for specific details:"
            errors.each do |error|
              puts "- " + error.message
            end
            quit(1)
          end
        end
      end