You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
Whenever an element is removed that can be referenced by spanning elements (like <note> in most cases) the spanning element can not be rendered anymore. This makes it very difficult to find and delete the spanning element manually so there are no dead elements in your file.
Solution
Either the spanning element should be deleted right away when the referenced element is deleted or a function could be implemented that removes all spanning elements that reference non-existent elements.
Because reinserting a spanning element is relatively easy for most of them, just deleting them right away would probably be best for workflow.
The text was updated successfully, but these errors were encountered:
wergo
changed the title
Delete spanning elements with non existent referenced elements
Check for elements pointing to non-existing target ids
May 8, 2024
Add new function to check all (or a subset of) data.URI pointing elements starting with a hash (e.g., @startid="#note0123") for the existence of the targeted element within the current encoding and provide an interface for user action (delete, ignore, ...).
Problem
Whenever an element is removed that can be referenced by spanning elements (like
<note>
in most cases) the spanning element can not be rendered anymore. This makes it very difficult to find and delete the spanning element manually so there are no dead elements in your file.Solution
Either the spanning element should be deleted right away when the referenced element is deleted or a function could be implemented that removes all spanning elements that reference non-existent elements.
Because reinserting a spanning element is relatively easy for most of them, just deleting them right away would probably be best for workflow.
The text was updated successfully, but these errors were encountered: