Skip to content

Fix for issue #2876: deprecate the use of valList as a direct child of elementSpec#2886

Open
martindholmes wants to merge 1 commit into
devfrom
issue-2876-valList
Open

Fix for issue #2876: deprecate the use of valList as a direct child of elementSpec#2886
martindholmes wants to merge 1 commit into
devfrom
issue-2876-valList

Conversation

@martindholmes

Copy link
Copy Markdown
Contributor

This is the best solution I can think of for deprecation here.

@sydb sydb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure this is sufficient. Wouldn’t it be good to have something like

    <sch:rule context="tei:elementSpec/tei:valList">
      <sch:report test="true()">
        Use of &lt;valList> as a direct child of &lt;elementSpec> is deprecated
        and will be invalid after 2027-08-31. To express a controlled vocabulary
        as the content model of an element, place the &lt;valList> inside a
        &lt;content> element.
      </sch:report>
    </sch:rule>

in addition to the proposed remarks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants