Boost C++ Libraries: Ticket #900: graphml reader namespace handling is broken https://svn.boost.org/trac10/ticket/900 <pre class="wiki">I believe the modifications done in http://boost.cvs.sourceforge.net/boost/boost/libs/graph/src/graphml.cpp?r1=1.1&amp;r2=1.2 break xml namespace processing, since it will strip any namespace information from all tags (everything before "|"), not only those which,belong to the graphml namespace. So, tags belonging to other namespaces, such as "foo:node", will be wrongly parsed as graphml tags, eg. "node"... I'm sending attached patches which revert to the old behavior and have two further modifications: - Better expat error handling. It now informs the user where in the file a problem occured - Reordering of tag processing for possible speed improvement ("node" is more frequent than "graph", so it should be tested first, etc) I'm also sending slightly improved documentation and test case. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/900 Trac 1.4.3 count0 Wed, 18 Apr 2007 11:33:40 GMT <link>https://svn.boost.org/trac10/ticket/900#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/900#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=365386 Originator: YES File Added: graphml.hpp.patch </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>count0</dc:creator> <pubDate>Wed, 18 Apr 2007 11:34:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/900#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/900#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=365386 Originator: YES File Added: reader_test.cc </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>count0</dc:creator> <pubDate>Wed, 18 Apr 2007 11:35:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/900#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/900#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=365386 Originator: YES File Added: reader-test.xml </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>count0</dc:creator> <pubDate>Wed, 18 Apr 2007 11:36:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/900#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/900#comment:4</guid> <description> <pre class="wiki">Logged In: YES user_id=365386 Originator: YES File Added: read_graphml.rst </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>count0</dc:creator> <pubDate>Wed, 18 Apr 2007 11:36:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/900#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/900#comment:5</guid> <description> <pre class="wiki">Logged In: YES user_id=365386 Originator: YES File Added: write_graphml.rst </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Sat, 23 May 2009 17:17:39 GMT</pubDate> <title>severity set https://svn.boost.org/trac10/ticket/900#comment:6 https://svn.boost.org/trac10/ticket/900#comment:6 <ul> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> I do not see any files anymore. It appears the parse error issue has been fixed; have the other issues? </p> Ticket Jeremiah Willcock Sat, 23 May 2009 17:18:04 GMT severity changed https://svn.boost.org/trac10/ticket/900#comment:7 https://svn.boost.org/trac10/ticket/900#comment:7 <ul> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:10:57 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">graphml.cpp.patch</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:11:16 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">graphml.hpp.patch</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:11:32 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">reader_test.cc</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:11:46 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">reader-test.xml</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:12:03 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">read_graphml.rst</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:12:16 GMT attachment set https://svn.boost.org/trac10/ticket/900 https://svn.boost.org/trac10/ticket/900 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">write_graphml.rst</span> </li> </ul> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:13:02 GMT owner, status changed https://svn.boost.org/trac10/ticket/900#comment:8 https://svn.boost.org/trac10/ticket/900#comment:8 <ul> <li><strong>owner</strong> changed from <span class="trac-author">jsiek</span> to <span class="trac-author">Jeremiah Willcock</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> <p> These are the files from the old tracker. </p> Ticket Jeremiah Willcock Fri, 05 Jun 2009 01:47:40 GMT status, resolution changed https://svn.boost.org/trac10/ticket/900#comment:9 https://svn.boost.org/trac10/ticket/900#comment:9 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53650" title="Applied patches from ticket #900; fixes #900">[53650]</a>) Applied patches from ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/900" title="#900: Bugs: graphml reader namespace handling is broken (closed: fixed)">#900</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/900" title="#900: Bugs: graphml reader namespace handling is broken (closed: fixed)">#900</a> </p> Ticket