Amit K Gupta

Results 284 comments of Amit K Gupta
trafficstars

To keep a number as "33.00", it should not be parsed as number but as string only.

:) This is not a bug. So no fix. In javascript, you can't represent a number like `33.00`. So you need to make it as a string. ![image](https://github.com/NaturalIntelligence/fast-xml-parser/assets/7692328/64505135-0a45-4eb0-ac3d-4bffc6dafb13)

It is difficult to decide sometimes what behavior should be kept as different user has different needs. And introducing so many options to control the formatting also can confuse users...

Honestly speaking `` is my favourite. Just think it as a json property, we don't put comma (value ending indicator) in another line. So probably, I've done it for my...

it looks like a bug. let me check it my own.

Thanks for your PR I've a few suggestions 1. I believe we don't need another option. It can be done with `htmlEntities` flag only. 2. we can add an extra...

It's live now. You can see the entry in change logs

I believe the error must be thrown by the validator. So you can disable validator. Can you share your sample XML please?

When you're calling `parse` method, are you passing any 2nd argument?

You shared the config. I was asking what 2nd parameter you're passing in parse method?