Comments (7)
I debugged and reported the upstream issue bsapundzhiev/bsxml-json#25.
from externdata.
Resolved by v2.3.4.
from externdata.
That was quick, thank you! Works fine now
Thanks again
James
from externdata.
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.
Hm, cannot reproduce. Still gives a={0.1, 0.3} even if dummyRoot/set2
appears first in the XML file.
from externdata.
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.
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)
- Dymola 2019 model check fails on class methods HOT 18
- OpenModelica HOT 11
- cannot find cell value HOT 3
- Compilation fails in Dymola 2019 FD01 with MinGW GCC HOT 2
- GCC compatiblitiy HOT 1
- Read 1D or 2D arrays HOT 19
- Fix problem with tir file example HOT 1
- throw error when variable not found HOT 12
- Writing results to different file types? HOT 2
- Evaluation at translation time and compliance with Modelica Specification HOT 3
- Read Dynamically Set Arrays from .mat File HOT 1
- CSVTest causing a translation and scripting error in OpenModelica HOT 4
- SimulationX binaries does not fit anymore HOT 2
- support for arm64 HOT 2
- Simulations (incl. `Examples.XLSXTest`) with `XLSX` do not compile on OpenModelica (v1.20, MSL4.0.0) HOT 3
- Compilation fails, linker cannot find ED_JSONFile [linux/macos] HOT 5
- MATTest example files doesn't work on last Openmodelica HOT 6
- getBoolean inconsistency between XMLFile and JSONFile HOT 1
- Dymola 2024x Refresh 1 Beta 1 - Experiments using ExternData will not compile HOT 6
- How to get value in array of structures in json? HOT 2
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 externdata.