// file      : xsde/cxx/parser/validating/idref.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.hxx>

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

          if (schema_error () == schema_error::invalid_ncname_value)
            schema_error (schema_error::invalid_idref_value);
        }

        char* idref_pimpl::
        post_idref ()
        {
          return post_ncname ();
        }
      }
    }
  }
}

#include <xsde/cxx/post.hxx>
