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

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

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

        char* id_pimpl::
        post_id ()
        {
          return post_ncname ();
        }
      }
    }
  }
}

#include <xsde/cxx/post.hxx>
