andles / x2js

Automatically exported from code.google.com/p/x2js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't use escaped characters

GoogleCodeExporter opened this issue · comments

1. Convert attached xml file to json format 

Extpected output is 
{
  description: "< --> &lt"
}
Instead I see the following
{
  description: "< --> <"
}

Version of the product is 1.1.5

Solution is change the order of replacing special characters in 
unescapeXmlChars function. 


Please provide any additional information below.


Original issue reported on code.google.com by Viktor19...@gmail.com on 29 Aug 2014 at 1:55

Attachments:

Original comment by abdulla....@gmail.com on 29 Aug 2014 at 3:09

  • Changed state: Accepted
Fixed in v1.1.7

Original comment by abdulla....@gmail.com on 29 Aug 2014 at 3:48

  • Changed state: Fixed