// file      : xsde/cxx/parser/validating/idref-stl.cxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2007 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#include <xsde/cxx/pre.hxx>

#include <xsde/cxx/parser/validating/idref-stl.hxx>

namespace xsde
{
  namespace cxx
  {
    namespace parser
    {
      namespace validating
      {
        void idref_pimpl::
        _post ()
        {
          ncname_pimpl::_post ();

          if (_error_type () == error_schema &&
              _schema_error () == schema_error::invalid_ncname_value)
            _schema_error (schema_error::invalid_idref_value);
        }

        std::string idref_pimpl::
        post_idref ()
        {
          return post_ncname ();
        }
      }
    }
  }
}

#include <xsde/cxx/post.hxx>
