Re: [Boost-bugs] [Boost C++ Libraries] #10194: basic_xml_grammar<wchar_t> parses class_id failed

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10194: basic_xml_grammar<wchar_t> parses class_id failed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-15 02:48:51


#10194: basic_xml_grammar<wchar_t> parses class_id failed
-------------------------------------+---------------------
  Reporter: Andrew Xu <xulei.js@…> | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+---------------------

Comment (by Andrew Xu <xulei.js@…>):

 Formatted test code:
 {{{
 #include <boost/archive/impl/basic_xml_grammar.hpp>
 #include <fstream>
 #include <iostream>
 using namespace boost::archive;

 int main()
 {
     std::wifstream ifs("./dashboard.xml");

     if (ifs) {
         basic_xml_grammar<wchar_t> xmlGrammer;
         xmlGrammer.parse_start_tag(ifs);

         std::wcout << "rv.class_id=" << xmlGrammer.rv.class_id <<
 std::endl;
     }
     else {
         std::cout << "File doesn't exist." << std::endl;
     }

     return 0;
 }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10194#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC