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

Allow pruning elements in XML policy #4340

Closed
reckart opened this issue Dec 3, 2023 · 0 comments
Closed

Allow pruning elements in XML policy #4340

reckart opened this issue Dec 3, 2023 · 0 comments
Assignees
Labels
⭐️ Enhancement New feature or request
Milestone

Comments

@reckart
Copy link
Member

reckart commented Dec 3, 2023

Is your feature request related to a problem? Please describe.
The XML policy drop action drops a single element, but if there is a nested pass element, that one is then retained. However, in some cases, an entire subtree needs to be pruned.

Describe the solution you'd like
Add a prune action that removes an entire subtree even if there might be elements to be pass-ed inside.

@reckart reckart added the ⭐️ Enhancement New feature or request label Dec 3, 2023
@reckart reckart added this to the 30.0 milestone Dec 3, 2023
@reckart reckart self-assigned this Dec 3, 2023
reckart added a commit that referenced this issue Dec 3, 2023
- Allow pruning a subtree
- Allow configuring whether the default namespace also matches elements without namespace
- Allow configuring whether the default namespace is applied to attributes as well
reckart added a commit that referenced this issue Dec 3, 2023
…uning-elements-in-XML-policy

#4340 - Allow pruning elements in XML policy
@reckart reckart closed this as completed Dec 3, 2023
reckart added a commit that referenced this issue Dec 3, 2023
* release/30.x:
  #4340 - Allow pruning elements in XML policy
reckart added a commit that referenced this issue Dec 3, 2023
…n-generic-XML-support

* main:
  #4340 - Allow pruning elements in XML policy
reckart added a commit that referenced this issue Dec 5, 2023
* main:
  #4347 - CAS doctor fails to generate a proper report on projects not containing INITIAL_CASes
  #4349 - Project has date in the 70ies if no data is set in JSON
  #4344 - Allow format to inject default namespace if document does not specify one
  #4342 - Show document size in documents table
  #4342 - Show document size in documents table
  No issue: Optimize tracking be excluding elements that contain no text
  No issue: Avoid scrollbar appearing at wrong level
  #4340 - Allow pruning elements in XML policy
  #4338 - Spurious empty annotations in RecogitoJS editor
  #4324 - Allow configuring UID GID etc in Kubernetes
  #4335 - Promote UIMA JSON CAS 0.4.0 to non-experimental
  #4326 - Upgrade dependencies
reckart added a commit that referenced this issue Dec 5, 2023
* main:
  #4347 - CAS doctor fails to generate a proper report on projects not containing INITIAL_CASes
  #4349 - Project has date in the 70ies if no data is set in JSON
  #4344 - Allow format to inject default namespace if document does not specify one
  #4342 - Show document size in documents table
  #4342 - Show document size in documents table
  No issue: Optimize tracking be excluding elements that contain no text
  No issue: Avoid scrollbar appearing at wrong level
  #4340 - Allow pruning elements in XML policy
  #4338 - Spurious empty annotations in RecogitoJS editor
  #4324 - Allow configuring UID GID etc in Kubernetes
  #4335 - Promote UIMA JSON CAS 0.4.0 to non-experimental
  #4326 - Upgrade dependencies
  #4330 - Remove default memory limit for INCEpTION in Dockerfile
  #4229 - Better project template selection
  #4330 - Remove default memory limit for INCEpTION in Dockerfile
  #4229 - Better project template selection

% Conflicts:
%	inception/inception-external-editor/src/main/java/de/tudarmstadt/ukp/inception/externaleditor/xhtml/XHtmlXmlDocumentViewControllerImpl.java
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
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
Archived in project
Development

No branches or pull requests

1 participant