Attribute value suggestions in default TEI framework

jakubsimek
Posts: 4
Joined: Fri Oct 04, 2019 11:26 pm

Attribute value suggestions in default TEI framework

Post by jakubsimek » Tue Oct 08, 2019 3:05 pm

Hi,

I am wondering about the suggestions I get through the content completion in Oxygen (when working on a regular TEI-All file and using the built-in TEI framework) for some attribute values.

When stating @unit on a <gap> element, the content completion suggests "chars" and "lines", among other recommended values. However, the current TEI Guidelines recommend "char" and "line" instead, as it is also the case in the specs source code (https://github.com/TEIC/TEI/blob/dev/P5 ... nsions.xml) and also in the current RelaxNG schema (http://www.tei-c.org/release/xml/tei/cu ... ei_all.rng).

I am working with the Oxygen 21.1 version, with just the built-in TEI P5 framework, not as an add-on.

Does the built-in framework use some other TEI schema or how could these differences be explained?

Best wishes,
Jakub

Radu
Posts: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: Attribute value suggestions in default TEI framework

Post by Radu » Wed Oct 09, 2019 9:34 am

Hi Jakub,

Oxygen 21.1 is shipped with the TEI schemas version 3.5.0 so I do not know if more recent versions of the TEI schema changed this attribute value or not. We'll probably update to the latest TEI schemas in Oxygen 22 (January 2020).
Maybe you could ask about this on the TEI users list or if you are not registered there I can ask on the list if someone from the TEI standard committee can give you a more detailed answer on this thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

jakubsimek
Posts: 4
Joined: Fri Oct 04, 2019 11:26 pm

Re: Attribute value suggestions in default TEI framework

Post by jakubsimek » Wed Oct 09, 2019 11:50 am

Dear Radu,

There indeed has been a change in the recommended attribute values between TEI version 3.5 and 3.6, so this explains my question.

Thanks and best wishes,
Jakub

Radu
Posts: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: Attribute value suggestions in default TEI framework

Post by Radu » Wed Oct 09, 2019 12:21 pm

Hi Jakub,

It seems that the Oxygen TEI add-on maintained by the TEI organization is still on 3.5.0, I added an issue for this:

https://github.com/TEIC/oxygen-tei/issues/36

But you can also update to the latest schemas on your own, download this zip file:

https://github.com/TEIC/TEI/releases/ta ... ease_3.6.0

Unzip it somewhere and then in the Oxygen Preferences->"XML / XML Catalog" page add a new reference to the XML catalog located in tei-3.6.0\xml\tei\schema\catalog.xml.
After this Oxygen should prefer this newer XML catalog to solve references to the TEI schemas.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply