openml / openml/OpenML

Broken URI of XML namespace 'xmlns:oml'

Open
#875 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.