Comments (6)
Power BI was complaining about metadata:
InvalidVersionNumber : The EDMX version specified in the 'Version' attribute does not match the version corre sponding to the namespace of the 'Edmx' element. : (0, 0)
The problem was fixed after I modified the Version number in the edmx:Edmx tag from 3.0 to 1.0.
As it may be seen from examples, all samples below Odata 4.0 have edmx:Edmx tag with version 1.0:
- https://services.odata.org/V3/Northwind/Northwind.svc/$metadata
- https://services.odata.org/V3/OData/OData.svc/$metadata
Only sample of Odata v4 have it differently, but it also references different xmlns:edmx file:
Same in ms docs: https://docs.microsoft.com/en-us/openspecs/windows_protocols/mc-edmx/44c78852-dd32-457b-a1ba-4f179bb00242
The fix needs to be applied in /src/MetadataV3/edmx/Edmx.php of ODataMetadata project:
Replacing
$this->setVersion($version);
with
$this->setVersion('4.0' == $version ? '4.0' : '1.0');
from odatametadata.
With regards issues with json writers any help will be appricheated I have been meaning to make some major changes there
from odatametadata.
With regards issues with json writers any help will be appricheated I have been meaning to make some major changes there
Yes, Json Writers are still not perfect. I have hard time to make integration with Power BI fully working for me. And it is super hard to figure out, why that does not work. Would be good to have some means to automatically test that, maybe, some kind of integration tests involving OData libraries from Microsoft (C#). Do you know maybe some OData clients that might be used for proper testing of the API?
P.S. Not sure about the right spot for such communication.
from odatametadata.
I think that is a good idea, we could probably build a c# integration test lib against the Northwood examples and test from there. Would be happy to work towards it.
What so you mean right stop for such communication?
from odatametadata.
What so you mean right stop for such communication?
Right "spot", sorry. "The right place".
from odatametadata.
I probably agree I think the three simple options for us would be
- you could create a new issue on podata?
- you could shot me an email?
- we use discord.
Any of those suite you? A 4th might be I have an old skype account
from odatametadata.
Related Issues (8)
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 odatametadata.