TEIC / Stylesheets

TEI XSL Stylesheets
228 stars 124 forks source link

Separate pattern for every instance of <anyElement> — fixes #631 (I hope) #632

Closed sydb closed 8 months ago

sydb commented 9 months ago

Generate a different RELAX NG pattern (and reference to it) for every occurence of an anyElement element, and update tests to match. (Previously we were trying to generate one for every content model in which an anyElement occurred, but were generation one for every content model in which an anyElement element occurred only once.)

This is high priority because it is making hard to work on #627.

raffazizzi commented 8 months ago

Despite the GitHub build error at Test / test2 (pull_request), it all builds correctly on my local machine.

sydb commented 8 months ago

OK, can we merge this puppy, then?

HelenaSabel commented 8 months ago

In my local machine, I was getting the same ID-generated error, so I updated the expected results. I think it’s ready to be merged!