TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
269 stars 88 forks source link

TEI example is old-formatted #2314

Closed kzhr closed 1 year ago

kzhr commented 2 years ago

A TEI example cited below seems to be old-formatted and poorly displayed. I'm not sure what it should be.

https://tei-c.org/release/doc/tei-p5-doc/en/html/DI.html#index-egXML-d54e79590

A bit confusing is that this example lacks a source citation. If I remember correctly, it should have a source citation in early 2020, but I can't find recent changes around here.

sydb commented 2 years ago

Good grief! This example is FUBAR. Need to dig through old versions of DI to see if a version that is not messed up can be found. Will try to do that early this week.

(Thank you, @kzhr !)

sydb commented 2 years ago

(DI-PrintDictionaries.xml line 3038.)

lb42 commented 2 years ago

It's not an example of TEI encoding, nor is it "FUBAR" ! (not an expression I would have expected from Syd ) It's an example of a non-TEI XML encoding which can't be transferred directly without using entryFree. That's what the surrounding text says anyway. If there;s anything to fix here, it's the formatting. Maybe wrapping this in a CDATA section would be a good idea?

lb42 commented 2 years ago

P.S. And there is a source citation too: but it's been given as a <ref> following the example instead of on the @source attribute

sydb commented 2 years ago

Indeed, @lb42, good point. I just read the prose and came back here to say essentially the same thing, and found you beat me to it!

I think this example should probably be wrapped in an <eg> (rather than <egXML>), using the @source attribute as @lb42 points out. Using a CDATA marked section (as was the case before 2007-09-29) instead of entity references would be my preference, but someday some process will convert it to entity references, anyway. (Or so says the pessimist in me.)