anymore1113 / superobject

Automatically exported from code.google.com/p/superobject
0 stars 0 forks source link

bug!! superxmlparser.XMLParseString #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
xml:
<RequestOrder>
<eccompanyid>HUITONG</eccompanyid>
<logisticproviderid>ZT</logisticproviderid>
</RequestOrder>

uses superxmlparser  //XMLParseString(Src,True)
json:
{
 "logisticproviderid": "ZT",
 "eccompanyid": "HUITONG"
}
is Error 

Correct Json Result:
{RequestOrder:
  {
   "logisticproviderid": "ZT",
   "eccompanyid": "HUITONG"
  }
}

Original issue reported on code.google.com by vbz...@gmail.com on 11 Feb 2014 at 6:12