Broken URI of XML namespace 'xmlns:oml'
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
In a side project I want to parse the XML data from the API. For that I wanted to use the defined XML namespace xmlns:oml from the response to map the data to objects. By trying that I noticed that the given URI (http://openml.org/openml) is broken. I found the relevant part in the backend I guess:
https://github.com/openml/OpenML/blob/b7e10f16d84c44d455e519f418c9db956ee0d3bf/openml_OS/libraries/DataOverview.php#L35
Regardless, I don't know whether it makes more sense to fix the URI in the backend or to restore the origin URI with the newest information. In fact it's not a serious bug.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at openml_OS/libraries/DataOverview.php around line 35, where the XML namespace URI is defined. Compare that URI with the API's current XML responses and the intended namespace information before deciding whether to update or restore it. Done means the namespace URI is correct and XML clients can use it consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100