Coder Social home page Coder Social logo

Comments (7)

tbeu avatar tbeu commented on May 22, 2024

I debugged and reported the upstream issue bsapundzhiev/bsxml-json#25.

from externdata.

tbeu avatar tbeu commented on May 22, 2024

Resolved by v2.3.4.

from externdata.

jamesegolding avatar jamesegolding commented on May 22, 2024

That was quick, thank you! Works fine now
Thanks again
James

from externdata.

jamesegolding avatar jamesegolding commented on May 22, 2024

Sorry tbeu, it appears to me that in version 2.3.4, if the elements of an xml are not in alphabetical order, the get functions cannot find the values in the file.

You can see this in "test.xml" by moving the entire "set2" element in front of the "set1" element and running the example.
Do you see the same issue?

Thanks,
James

from externdata.

tbeu avatar tbeu commented on May 22, 2024

Hm, cannot reproduce. Still gives a={0.1, 0.3} even if dummyRoot/set2 appears first in the XML file.

from externdata.

jamesegolding avatar jamesegolding commented on May 22, 2024

Sorry, I meant in the standard "XMLTest" example released with ExternData, which retrieves "set1.gain.k" and "set2.gain.k" from "test.xml".

Let me know if you still don't see it, perhaps it's an issue on my end.

Many thanks,

James

I attach the test.xml and simulation error.
TestXMLs.zip

from externdata.

tbeu avatar tbeu commented on May 22, 2024

Oops, I commited a debug change by mistake. It is all fixed (forced push) by 3e63f65 and re-released v2.3.4.

from externdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.