Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7155 closed Feature Requests (fixed)

Graph's GraphML reader mistreats <key for="graphml"> as erroneous

Reported by: alex@… Owned by:
Milestone: To Be Determined Component: graph
Version: Boost 1.51.0 Severity: Optimization
Keywords: BGL, GraphML Cc:

Description

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

Attachments (1)

graphml.diff (712 bytes ) - added by alex@… 10 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by alex@…, 10 years ago

Attachment: graphml.diff added

Patch

comment:1 by Jeremiah Willcock, 10 years ago

Component: Nonegraph
Resolution: duplicate
Status: newclosed

This is a duplicate of #7016.

comment:2 by Jeremiah Willcock, 10 years ago

Resolution: duplicatefixed

(In [83961]) Applied patch from #7155 to add "graphml" as a value for "for"; fixes #7155; fixes #7016

Note: See TracTickets for help on using tickets.