TEI2 with SGMLS and PSGML

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

TEI2 with SGMLS and PSGML

Tobias Rischer-2
Hello, TEI World.

_My_ problems with parsing the TEI DTDs are far more
stupid than Greg's, but I hoped he would get me the
answers, too. By now, I figure, I have to seek them
explicitely:

First:     Where is the (minimal) SGML declaration
           needed for TEI (P3) defined? When I try
           to parse a miniature TEi document, SGMLS
           tells me: "more than GRPCNT model group
           tokens" and drowns me in (probably consequent)
           errors. I suppose, this has something to do
           with the declaration (that I clipped out
           somewhere) -- I'm not in the least sure,
           though.

Second:    When I try to use PSGML to enter a TEI document,
           it parses the DTD without problems, but it
           doesn't offer the correct subset of possible
           tags. I guess this comes from the same source
           as Greg's problem -- declarations for items
           that wouldn't be legal if I used them -- but
           it's not only that I see more than allowed,
           I also miss the ones I wanted (namely, the
           tags for critical apparatus <app> etc. I got
           lots of drama description instead.)
           Might this result from the fact, that TEI-L
           told me that the entity file for text criticism
           is not yet available? I typed in the file
           manually to get working, but perhaps something
           else is missing?

Thanks for any help --
                     Tobias.

--

        ...............................................
        :                                             :
        :   Tobias Rischer                      :-)   :
        :   Dachauerstr. 147                          :
        :   D-80335 Muenchen  (Germany)               :
        :                                             :
        :   Tel.:  ../89/1234931                      :
        :   email: [hidden email]  :
        :.............................................:

Reply | Threaded
Open this post in threaded view
|

Re: TEI2 with SGMLS and PSGML

David Megginson
>>>>> "Tobias" == Tobias Rischer <[hidden email]> writes:

 > Second: When I try to use PSGML to enter a TEI document, it parses
 > the DTD without problems, but it doesn't offer the correct subset
 > of possible tags. I guess this comes from the same source as Greg's
 > problem -- declarations for items that wouldn't be legal if I used
 > them -- but it's not only that I see more than allowed, I also miss
 > the ones I wanted (namely, the tags for critical apparatus <app>
 > etc. I got lots of drama description instead.)  Might this result
 > from the fact, that TEI-L told me that the entity file for text
 > criticism is not yet available? I typed in the file manually to get
 > working, but perhaps something else is missing?

I have not tried the textcrit subset, but I have had no problems using
TEI with PSGML.  It is necessary, however, to define the correct
parameter in the DTD (as it is with SGMLS or any other SGML
implementation).


David

---
David Megginson                Department of English, University of Ottawa,
[hidden email]       Ottawa, Ontario, CANADA  K1N 6N5
[hidden email]    Phone: (613) 564-6850 (Office)
[hidden email]             (613) 564-9175 (FAX)