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

Invalid modification date #80

Open
multimeric opened this issue Jan 5, 2025 · 0 comments · May be fixed by #81
Open

Invalid modification date #80

multimeric opened this issue Jan 5, 2025 · 0 comments · May be fixed by #81

Comments

@multimeric
Copy link

The date needs to be in year-month-day format: https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/datatypes.html#date.

>>> from rdflib import Graph
>>> g = Graph()
>>> g.parse("https://raw.githubusercontent.com/duraspace/pcdm/refs/heads/main/models.rdf", format="xml")
ValueError: XSD Date string must contain at least two dashes
@multimeric multimeric linked a pull request Jan 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant