unit tests for grammatical features

Description

c.f.

example: ` <grammaticalFeatures targets="nominal" locales="en fil ja ms th fil vi zh">` should test to fail since 'fil' is duplicated.

xpath

None

locale

None

Activity

Show:
Mark Davis
November 17, 2020, 10:04 PM

Actual code change will be to add a check in

            DtdData.SetMatchValue

Mark Davis
November 17, 2020, 9:45 PM
Edited

That is, there is a DTD attribute:

<!ATTLIST grammaticalFeatures locales NMTOKENS #REQUIRED >

    <!--@MATCH:set/validity/language-->

We can change TestAttributeValues to check that a MATCH:set has no duplicates.

Mark Davis
November 9, 2020, 6:58 PM

Add to test attribute values to make a general test for items that should be Sets to verify that there are no duplicates.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

minor

Assignee

Steven R. Loomis

Reporter

Steven R. Loomis

Reviewer

Mark Davis

Fix versions

Components