You may well be right. But the RNG I generate with oXygen from teiSimplePrint.odd is fine too -- it defines att.global.rendition.attribute.rendition as well as referencing it

Where do the tei_*.nvdl and tei_*examples.rng files get generated? Mine are getting generated with stupid names and stupid content


On 27/06/2019 15:47, Peter Stadler wrote:
Well, you can generate a schema but the test fails when diffing against the expected result.
And: resulting rng and rnc files (for tei_simplePrint) are not valid due to "reference to undefined pattern „att.global.rendition.attribute.rendition““ — I haven’t checked xsd, though.

Since tei_simplePrint.odd hasn’t changed, that’s a Stylesheets bug. I suspect this commit https://github.com/TEIC/Stylesheets/commit/fcd21ce1542dc8429423e99024d1bc6af272f425 <https://github.com/TEIC/Stylesheets/commit/fcd21ce1542dc8429423e99024d1bc6af272f425> to be the root of the problem because it introduces a check for the proper schemaSpec (when there are more than one). Yet it expects those elementSpecs to be descendants of that schemaSpec which is not (necessarily) true for spcGrpRefs (which simplePrint) uses a lot.

Best
Peter

Am 27.06.2019 um 16:05 schrieb Lou Burnard <lou.burnard@retired.ox.ac.uk>:

I just tried generating XSD from the teiSimplePrint.odd in oXygen and it worked just fine. So that's not where the problem lies...

On 27/06/2019 12:57, Peter Stadler wrote:
Hi Lou,

yes, the build is currently broken :(
Stylesheets group was going to tackle it but my feeling is we’re stuck? Is anyone actively working on that issue?

Best
Peter

Am 27.06.2019 um 13:35 schrieb Lou Burnard <lou.burnard@retired.ox.ac.uk> <mailto:lou.burnard@retired.ox.ac.uk>:

My occasional practice of doing

git pull

make

in my local copy of the dev repo seems to have hit a rock again.



../run-onvdl tei_simplePrint.nvdl tei_simplePrint.odd
/usr/bin/onvdl
fatal: file not found: /home/lou/Public/TEI/P5/Exemplars/tei_simplePrint.nvdl (No such file or directory)
java -jar ../Utilities/lib/trang.jar  tei_simplePrint.rng tei_simplePrint.rnc
java -jar ../Utilities/lib/trang.jar   -o disable-abstract-elements tei_simplePrint.rng tei_simplePrint.xsd
/home/lou/Public/TEI/P5/Exemplars/tei_simplePrint.rng:475:61: error: reference to undefined pattern "att.global.rendition.attribute.rendition"
Makefile:71: recipe for target 'tei_simplePrint.dtd' failed
make[1]: *** [tei_simplePrint.dtd] Error 1
make[1]: Leaving directory '/home/lou/Public/TEI/P5/Exemplars'
Makefile:201: recipe for target 'exemplars' failed
make: *** [exemplars] Error 2


_______________________________________________
Tei-council mailing list
Tei-council@lists.tei-c.org <mailto:Tei-council@lists.tei-c.org>
http://lists.lists.tei-c.org/mailman/listinfo/tei-council <http://lists.lists.tei-c.org/mailman/listinfo/tei-council>