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

make att.repeatable work for <sequence>, <alternate>, and <anyElement> #633

Merged
merged 12 commits into from
Mar 15, 2024

Commits on Oct 1, 2023

  1. Replace tei:minOmaxO() and both tei:generateIndicators() functions (o…

    …ne for RELAXNG, one for DTD) with a new function, tei:norMinMax(); should be no change to output; passes both Test/ and Test2/.
    sydb committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    239a71e View commit details
    Browse the repository at this point in the history
  2. Oops, spoke too soon: was not passing Test/, just Test2/. Now passing…

    … both sets of tests.
    sydb committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    3ca367e View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Code for supporting minOccurs= and maxOccurs= on <anyElement>, mostly…

    … untested because of #631. This comit is *not* ready for prime time.
    sydb committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    a5d1c3c View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Still NOT ready to be merged into dev:

    In this commit I intended to comment out some debugging code (which renders output kinda useless, is it sticks the results of each pass into the output as RELAXNG <div> elements, rather than as comments) and update some tests. But I found to my horror that (despite message of previous 3 commits) tests were not passing. So lots of test updates, too. NB: One of the things that makes this ineligible for merging into dev is that the constraint for the <choice> element has changed from the incorrect, but workable '( model.choicePart | choice )+' to the incorrect and *not* workable '( model.choicePart | choice )+'. At the moment I have no idea why, but it does not really matter, as attacking minOccurs= and maxOccurs= on <alternate> and <sequence> is next.
    sydb committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    f280564 View commit details
    Browse the repository at this point in the history
  2. Now have @minOccurs and @maxOccurs working on <sequence> (and thus <i…

    …nterleave>), too. Passes tests, so *may* be eligible to merge into dev, but not really ready, yet, as need to work on repeatability of <alternate>.
    sydb committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    7ef0c0e View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Various minor things:

     * Removed some debugging code
     * Added tests (in Test2/testPure1) for sequence/@m[ia][nx]Occurs and alternate/@m[ia][nx]Occurs, including valid instance, but not invalid
     * Updated tests (in Test/)
    sydb committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    89fa20c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    06e9154 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. 2 minor updates:

    1) Apparently there are times when the 'c' variable in the template for elementRef|classRef|macroRef boils down to an empty sequence.
    2) Handle the case when there is no <datatype> child of the <attDef> being processed.
    sydb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    be6a809 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Configuration menu
    Copy the full SHA
    1b8d7dd View commit details
    Browse the repository at this point in the history
  2. This commit _seems_ to be working correctly: passes Test/, Test2/, th…

    …e Guidelines test process, and the Guidelines build OK.
    sydb committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    91a8ff4 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    9b452f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Manual merge of dev to this branch PLUS various changes required to m…

    …ake it work after said merge.
    sydb committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    885f7b5 View commit details
    Browse the repository at this point in the history