Selectors on XML attributes lead to the whole element being stored when it is empty

Created on 29 July 2021, almost 3 years ago
Updated 14 March 2024, 3 months ago

Problem/Motivation

Whole elements are being stored when the element is empty and its being selected by attribute.

Steps to reproduce

  1. Have some data of the form <element name="some_attribute"/>
  2. Use the selector selector: 'element[@name="some_attribute"]'

The end result is the imported field will have a value of <element name="some_attribute"/>

Proposed resolution

Have a flag that stops children being imported.

๐Ÿ› Bug report
Status

Active

Version

5.1

Component

Plugins

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ณ๐Ÿ‡ฟNew Zealand xurizaemon ลŒtepoti, Aotearoa ๐Ÿ

    Tricked editing this issue description by the fact that the "The end result is ..." sentence ended in a missing tag.

Production build 0.69.0 2024