id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9448,Invalid XML produced when key contains '/',smr@…,Sebastian Redl,"boost ptree creates invalid XML when key contains a '/'. Steps: {{{ $ cat pt.cxx #include #include int main() { using boost::property_tree::ptree; ptree pt; pt.put(""MY/KEY"", 42 ); std::ofstream os( ""invalid.xml"" ); boost::property_tree::write_xml(os, pt); os.close(); return 0; } $ g++ pt.cxx && ./a.out $ cat invalid.xml 42% $ xmllint --format invalid.xml invalid.xml:2: parser error : error parsing attribute name 42 ^ invalid.xml:2: parser error : attributes construct error 42 ^ invalid.xml:2: parser error : Couldn't find end of Start Tag MY line 2 42 ^ invalid.xml:2: parser error : Extra content at the end of the document 42 ^ }}} Reported as Debian bug #729579",Bugs,closed,To Be Determined,property_tree,Boost 1.54.0,Problem,duplicate,,