Will assume that he's filed a bug. Not sure what the intended goal is since I'm not familiar with INFO per se. Are we saying that CdbAppServiceId=1 is an attribute?
Or is intended as a tab with "1" value? What sort of general bug is this? Does it impact pure Xml usage with Xml paths, parents, children, elements, attributes, values, etc?
Thank you...
On 02/18/2013 02:10 PM, Gábor Márton wrote:Please file a bug. It might still be a few weeks before I get to work on PropertyTree properly again, and this mail will get lost otherwise.
Hi,
I have the following property tree, dumped in INFO format:
CudbAppServiceId=1
{
userLabel ""
sqlAppSrvPlSchema identities-pl.sql
CudbAppServiceId CudbAppServiceId=1
}
When I dump it in XML format, I got the following:
<?xml version="1.0" encoding="utf-8"?>
<CudbAppServiceId=1>
<userLabel/>
<sqlAppSrvPlSchema>identities-pl.sql</sqlAppSrvPlSchema>
<CudbAppServiceId>CudbAppServiceId=1</CudbAppServiceId>
</CudbAppServiceId=1>
This is not a valid XML, because we have a tag "CudbAppServiceId=1".
Of course, any other xml parser like xmllint will fail to parse it,
because of the equality sign in the tag.
Is there any solution to this problem? Like somehow emitting =
instead of the raw '=' inside the tag and in the text?
Sebastian
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users