[Boost-bugs] [Boost C++ Libraries] #7155: Graph's GraphML reader mistreats <key for="graphml"> as erroneous

Subject: [Boost-bugs] [Boost C++ Libraries] #7155: Graph's GraphML reader mistreats <key for="graphml"> as erroneous
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-20 11:21:33


#7155: Graph's GraphML reader mistreats <key for="graphml"> as erroneous
--------------------------------+-------------------------------------------
 Reporter: alex@… | Type: Feature Requests
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
 Severity: Optimization | Keywords: BGL, GraphML
--------------------------------+-------------------------------------------
 The GraphML specification
 specifies (see definition of simpleType name="key.for.type" the file
 graphml-structure.xsd on the GraphML Homepage, which I cannot link due to
 the spam protection) that

 {{{
 <graphml ...>
   <key for="graphml" id="d0" ... />
   ...
 }}}

 is a valid "for" attribute. The graphml parser in lib/graph/graphml.cpp
 throws an error:

 {{{
 terminate called after throwing an instance of
 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::parse_error>
>'
   what(): parse error: Attribute for is not valid: graphml
 Aborted

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7155>
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:10 UTC