Boost C++ Libraries: Ticket #1223: boost::serialization chokes on correcly formatted empty XML element https://svn.boost.org/trac10/ticket/1223 <p> boost::serialization expects empty XML elements on the format (which is the format it generates them in): </p> <pre class="wiki">&lt;ElementName&gt;&lt;/ElementName&gt; </pre><p> It chokes on the legally and preferred formatted XML empty element: </p> <pre class="wiki">&lt;ElementName/&gt; </pre><p> with a 'stream error'. This can be a problem if preprocessing is needed (before serialization to objects) with XML libraries who tend to write empty elements of the latter format. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1223 Trac 1.4.3 Robert Ramey Fri, 30 Nov 2007 05:50:37 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1223#comment:1 https://svn.boost.org/trac10/ticket/1223#comment:1 <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-new">wontfix</span> </li> </ul> <p> boost xml serialization reads the flavor of xml it writes. It can't guarentee to process xml generated by other programs or edited xml. I might be willing to loosen up the parsing rules of someone submits a patch </p> Ticket Ryan Santos Mon, 26 Sep 2011 05:35:34 GMT <link>https://svn.boost.org/trac10/ticket/1223#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1223#comment:2</guid> <description> <p> It would be better for boost to follow that standard xml format. I am currently encountering this problem as well. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 10 Feb 2014 05:25:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1223#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1223#comment:3</guid> <description> <p> Rather silly decision. This makes me regret choosing the boost for my XML requirements. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 14 Aug 2014 19:26:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1223#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1223#comment:4</guid> <description> <p> I regret too. Can not use python <a class="missing wiki">ElementTree</a> for preprocessing. </p> </description> <category>Ticket</category> </item> </channel> </rss>