actually, I did use jEdit with the TEI quite extensively for a while. It
does support RNG validation (but not RNC).
Associating a TEI file with a schema is a bit cumbersome through the
interface. Thus I resorted to using a schema description file. So what
usually worked for me is this setup with three files in the same folder:
1. The TEI schema as RNG (tei_all.rng in my case).
2. A file "schemas.xml" with this content:
<?xml version="1.0" ?>
<namespace ns="http://www.tei-c.org/ns/1.0" uri="tei_all.rng"/>
3. The actual TEI file.
In order to test this works, you can open the TEI file and go to
"Plugins → XML → Open Schema". That should open tei_all.rng.
You could also store the TEI schema and schemas.xml at a central place,
so that jEdit uses it globally. I can’t remember the correct location
for that, but the XML plugin documentation should help you with that.
I hope that helps.
Am 07.07.2016 um 12:22 schrieb Pierazzo, Elena:
> Hi folk,
> I’m trying to figure out how to use JEdit with the TEI. I’d love to use
> oXygen, but my institution refuses to buy the licence and I have a few
> courses I need to teach there from September, and since my modules are
> thought for a term I cannot use the 30 days licence.
> I needed a multiplatform and free software there, so I ended up on
> JEdit, but I don’t seem to be able to validate properly, since for
> reasons that escapes me, if I download from Roma a TEI schema and tell
> JEDIt to use it for validation, the XML plugin i use tray to validate my
> file against the Relax NG definition… here is the message of error I get:
> * Untitled-1:1:element "TEI" not allowed here; expected element
> "ns:attribute", "ns:choice", "ns:data", "ns:element", "ns:empty",
> "ns:externalRef", "ns:grammar", "ns:group", "ns:interleave",
> "ns:list", "ns:mixed", "ns:notAllowed", "ns:oneOrMore",
> "ns:optional", "ns:parentRef", "ns:ref", "ns:text", "ns:value" or
> "ns:zeroOrMore" (with xmlns:ns="http://relaxng.org/ns/structure/1.0")
> I guess I could use a DTD, which the plugin seems to be made for
> (http://plugins.jedit.org/plugindoc/XML/), but it seems quite a silly
> thing to do, not to mention the fact I’d like to teach using the full
> power (!) of the TEI
> Who has experience using JEdit and TEI? Or, do you have a better
> suggestion of which editor to use?
> Cheers and thanks!
> Elena Pierazzo
> Professeure d’italien et humanités numériques
> Université Grenoble-Alpes - LUHCIE
> Bureau Bâtiment 'Stendhal’ F307
> BP 25 38040 Grenoble Cedex 9
> Tel. +33 4 76828032
> Visiting Senior Research Fellow
> King's College London
> Department of Digital Humanities
> King's College London
> 26-29 Drury Lane
> WC2B 5RL
Dr. Frederik Elwert
Digital Humanities Coordinator
Center for Religious Studies
Phone +49(0)234 32-23024