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

Adding and removing modified times leaves detritus #354

Open
luciansmith opened this issue Oct 18, 2023 · 0 comments
Open

Adding and removing modified times leaves detritus #354

luciansmith opened this issue Oct 18, 2023 · 0 comments

Comments

@luciansmith
Copy link
Member

Because of Reasons, I'm adding modified dates to a model, then replacing it with a new modified date. So inbetween, I call 'unsetModifiedDates'. This mostly works, but I end up with a bunch of empty RDF 'Description' objects:

        <rdf:Description rdf:about="#foo">
          <dcterms:modified rdf:parseType="Resource">
            <dcterms:W3CDTF>2019-07-29T10:53:09Z</dcterms:W3CDTF>
          </dcterms:modified>
        </rdf:Description>
        <rdf:Description rdf:about="#foo"/>
        <rdf:Description rdf:about="#foo"/>
        <rdf:Description rdf:about="#foo"/>
        <rdf:Description rdf:about="#foo"/>
        <rdf:Description rdf:about="#foo"/>

Can those be removed as well? I couldn't figure out where they came from.

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

No branches or pull requests

1 participant