id summary reporter owner description type status milestone component version severity resolution keywords cc 6041 Exception in basic_xml_iarchive(...) when xml contains short tags Darren Griffin Robert Ramey "Hi Guys, I'm getting an exception thrown when DE serializing XML which contains short-tags '' where no data is present. If you take a look at the following StackOverflow link this will explain my problem. http://stackoverflow.com/questions/7823875/boost-serialization-exception-to-and-from-xml-via-sql-server-xml-datatype I've looked into the code in some depth now, so I’ll do my best to point out my findings. The exception happens in 'basic_xml_iarchive.ipp', line 34, the function called 'basic_xml_iarchive::load_start(const char *name)' If the 'parse_start_tag(..)' call in this function begins to find the starting tag for said name, and the tag in question is a short-tag it is unable to find a pattern match for that tag and the exception is thrown. With my understanding and following the code through this function it takes me to where i believe the problem lies. If you look in 'basic_xm_grammar.ipp' at the function 'basic_xml_grammar::basic_xml_grammar()' which begins on line 233, you will see what looks like 2 pattern attributes defined.. STag (line 255) ETag (line 264) These, from what I can gather, define the pattern for what the start and end tags of an XML tag would look like, and i can see no patterns here which would be capable of capturing the short-tag, so one can only assume this has been overlooked, or at least that’s my view. I've looked at later version of boost and I can see no changes which lead me to believe this has been fixed. I'm hoping it's just me not doing something correctly, but I leave it to you guys to determine if it really is a bug or not. Great libraries though, they have made my job much more enjoyable over the past few years. Any questions feel free to contact me. Cheers, Darren " Bugs closed To Be Determined serialization Boost 1.38.0 Showstopper wontfix