/* -*- c++ -*- */
#ifndef SCHEMAPARSER_H__
#define SCHEMAPARSER_H__

#include <akaxiso/schema/schema.h>

class xschemaparser {
  aka::xml_parser parser_;
  std::ostream &ostm_;
  bool verbose_;
  bool do_dump_;
public:
  xschemaparser(std::ostream &ostm, bool verbose, bool do_dump)
    : ostm_(ostm), verbose_(verbose), do_dump_(do_dump) {}
  xs::schema *parse(const std::string &filename);
};

#endif
