Add stage to validate selected DOM elements as strings

Description

Add a StringElementValidationStage.

Environment

None

Activity

Ian YoungSeptember 8, 2020 at 3:33 PM

Done, commit 4476512292d900b91106da966bf8d12a7635cde4.

Ian YoungNovember 7, 2019 at 5:01 PM

There's a prototype implementation of this (as AbstractElementValidationStage and StringElementValidationStage) in the ukf-mda project at commit 0846fd802641461b95062aa0b2131c04371e3f11:

https://github.com/ukf/ukf-mda/commit/0846fd802641461b95062aa0b2131c04371e3f11

This should be importable with the exception of the test case, which for local reasons uses a validator I don't think we want to upstream at this point (possibly never). It should be replaceable by a simple regex validator.

It might make sense to refactor the X509 certificate validator in terms of AbstractElementValidationStage, although that would introduce a requirement to configure an elementName property (although perhaps we can override the default?)

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Created November 7, 2019 at 11:59 AM
Updated May 16, 2024 at 12:37 PM
Resolved September 8, 2020 at 3:46 PM