kshawkin / Best-Practices-for-TEI-in-Libraries

Best Practices for TEI in Libraries: A guide for mass digitization, automated workflows, and promotion of interoperability with XML using the TEI
http://purl.oclc.org/NET/teiinlibraries
32 stars 8 forks source link

How does a document specify its level of encoding? #74

Closed lb42 closed 6 years ago

lb42 commented 6 years ago

Unless I missed it (which is quite possible) there isn't any recommendation here on how a document should specify the bp-level of its encoding. Would this not be useful? Maybe something as simple as <encodingDesc n="BP-level-1"/> would do.

kshawkin commented 6 years ago

What you're looking for is encodingDesc/schemaRef key='BPTL-L1-v3.4.2a'.

lb42 commented 6 years ago

Ah, thanks. I thought you must have done it already! Though strictly this is refererring to a specific version release of BPTL, rather than the generic "level1" I had in mind.

kshawkin commented 6 years ago

The BPTL used to refer to the generic levels through editorialDecl@n, but we changed our mind about this: https://github.com/kshawkin/Best-Practices-for-TEI-in-Libraries/issues/17

lb42 commented 6 years ago

I should have guessed that troublemaker @lb42 started this... are you aware that, as currently defined in P5. schemaRef apparently has a mandatory @URL attribute as well as @key ?

kshawkin commented 6 years ago

I was not, but now I am!