Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] page on xml extensions #18

Open
stevieflow opened this issue Mar 26, 2021 · 4 comments
Open

[Idea] page on xml extensions #18

stevieflow opened this issue Mar 26, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@stevieflow
Copy link

Is your feature request related to a problem? Please describe.

The current dashboard surfaces the use of extensions via the elements / attributes breakdowns. This isn't great to get to an overview of the extensions being used by publishers

Describe the solution you'd like

  • Provide a new page "Extensions" in the dashboard
  • List the (unique) namespaces declared - and who/how many publishers use this
  • List the subsequent parent element where these namespaces sit
  • List the subsequent elements/attributes that use these namespaces

Describe alternatives you've considered

Additional context

More widely, this would help lay the foundation for codeforIATI/iati-ideas#29

@andylolz
Copy link
Member

andylolz commented Mar 26, 2021

Ooh – I wonder if this relates to IATI/IATI-Dashboard issues 432 and 123…

@stevieflow
Copy link
Author

Agree!

@andylolz andylolz added the enhancement New feature or request label Mar 27, 2021
@andylolz
Copy link
Member

andylolz commented May 14, 2021

I think step 1 here is to determine standard vs non-standard elements and attributes. After that, we can start splitting out extension elements.

We can potentially use https://pypi.org/project/xmlschema/ for this (@kindly mentioned this on discord recently, as he has been using it).

Failing that, we can definitely use this: https://github.com/codeforIATI/reference/blob/3e8a12c8/schema_to_doc.py#L270

@andylolz
Copy link
Member

andylolz commented May 19, 2021

I think step 1 here is to determine standard vs non-standard elements and attributes

^^ I’ve started this here: https://analytics-dev.codeforiati.org/elements.html

First attempt looks wrong – it’s currently only checking against the v1.05 activities schema. That shoudl be fixed in the next build. Fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants