Hussein,
I think I understand now.
At the top of all our documents is:
<?xml version="1.0" encoding="us-ascii"?>
<?xml-model href="../schemas/mbel.rnc"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
Associating the mbel.rnc schema with this file for validation. We
normally use the Oxygen editor which then uses this schema file to
provide validation as we type and context completion of tags. A feature
that is a must have for us.
Do I understand the XXE does not use the specified schema in an xml file
to provide validation tag hints, etc.. The user has to create an
additional configuration file that mirrors the schema file to enable
validation and contextual help?
Is that correct?
If so is there an xsl script that would read a schema file and generate
the appropriate configuration file? Not familiar with the configuration
file maybe that is not possible with the information contained in the
schema file?
thanks,
Scott
-------- Original Message --------
Subject: Re: [XXE] TEI
From: Hussein Shafie <[email protected]>
To: Scott Derrick <[email protected]>
Date: 12/11/2013 08:59 AM
On 12/11/2013 04:09 PM, Scott Derrick wrote:
I am considering using XMLMind Editor as an applet for 3-5 users.
We are editing TEI documents, but we use a custom schema, attached.
I noticed TEI was listed as unsupported? Can you explain what
that actually means?
This means that unlike what happens for DITA, DocBook and XHTML, XMLmind
has not developed a configuration for TEI and hence, XMLmind XML Editor
does not support TEI out of the box.
If I generate the TEI schema as a custom rng, will
the editor then provide contextual support by indicating legal tags,
etc...
Yes, a schema is fundamentally required to provide contextual, strictly
validating, editing, but a schema alone is not sufficient. You need to
write a *configuration* for TEI.
To make it simple, this means teaching XMLmind XML Editor how to detect
a TEI document and what to do when a TEI document is created or opened.
How to write a configuration for XMLmind XML Editor is explained here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/config_file.html
We, XMLmind, have written extensive configurations for DITA, DocBook and
XHTML.
A third-party developer, Boris Goldowsky, has written a configuration
for the DAISY DTBook DTD (http://www.daisy.org/daisy-standard). Moreover
this third-party configuration is available from our servers, nicely
packaged as an add-on. In practice, this means that adding Daisy support
to XMLmind XML Editor is for the end-user as simple as selecting menu
item "Options|Install Add-ons" and then selecting the add-on called
"DTBook Support" (and optionally, also the add-on called
"MathML-In-DAISY Support").
We know for sure that third-party developers have written a
configuration which adds TEI support to XMLmind XML Editor. In fact, we
are currently trying to convince these developers to release their TEI
configuration to the public. These developers probably read this mailing
list. I, of course, encourage them to contact you.
--
To those leaning on the sustaining infinite, to-day is big with blessings.
Mary Baker Eddy
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support