Comments (3)
Looking into it. I just replaced the bb1 and bb2 tags with yyy and it parsed fine. Not sure yet why. Will run your fix through the tests
from xml-to-json.
@ttghr I have a fix on branch xmlToJsonStream/patch/1.0.5
. The issue was indeed in findClosingIndex
, but was related to not properly distinguishing between <bbb><bbb1></bbb1></bbb>
It treated <bbb1>
as a <bbb>
tag if it was nested. I included your scenario in the jasmine tests and added some additional similar test cases and it all passed so far. I will publish this fix soon
from xml-to-json.
fixed in v1.0.5
from xml-to-json.
Related Issues (8)
- Error handling with createStream HOT 5
- throw er; // Unhandled 'error' event HOT 1
- Repetitive xml tag occurs Illegal start of XML tag error in stream mode HOT 3
- TypeError: xml.replace is not a function HOT 1
- Incorrect parsing of child elements that share their parent's tag HOT 1
- First instance of each type of child tag after the first does not honor attributesMode
- cleanXML function removes all content between first and last discovered XML comments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xml-to-json.