[tei-council] Oddity with Roma
Martin Holmes
mholmes at uvic.ca
Thu Nov 15 14:15:47 EST 2012
On 12-11-15 09:02 AM, Sebastian Rahtz wrote:
>
> On 15 Nov 2012, at 16:29, Martin Holmes <mholmes at uvic.ca> wrote:
>>
>> Other people at the same workshop managed to generate broken schemas
>> too; a problem I saw twice was duplicate definitions of att.ascribed.
>
> can you reproduce that?
I've just recovered one from someone's trash:
ODD:
<http://hcmc.uvic.ca/people/martin/test/PL.xml>
RNG:
<http://hcmc.uvic.ca/people/martin/test/PL.rng>
The error on this one is "E [Jing] multiple definitions of
"att.global.facs.attribute.facs" without "combine" attribute", but I saw
something similar with att.ascribed on other machines if I remember
correctly. Looking at this one, I realize he started from TEI Lite. I
wonder if that's what the others did too?
>> We
>> had no trouble with schemas where people just added modules, but once
>> they started removing elements and attributes from their modules, they
>> had some problems. I hadn't really thought before how easy it is to
>> generate something irrational if you don't know exactly what you're
>> doing
>
> gosh yes. that's exactly why the sanity check exists.
>
>> When I get a chance to check out the latest Byzantium I'll try running
>> it through there.
>
> Byzantium and Roma both simply call OxGarage to do any processing,
> so don't expect differences!
>
> Byzantium does now have some features that Roma does not - for example, it
> does not allow you to get at attributes on an element coming from a
> class, if the class is defined in a module you haven't loaded yet. Nick is working
> at the moment on some graphical display of your choices, which I think
> may be a direction teachers will like.
I'm looking forward to seeing that. I hadn't taught the use of Roma in
the last few years, and after yesterday I have a few ideas for minor
improvements (for instance, the sanity check messages are
programmer-messages and ordinary users couldn't make head or tail of
them). But if I have time I'd also like to write a tutorial for using
Roma, or at least some better presentation materials for myself.
> Github aficionadoes may like to grab from https://github.com/Burlinn/Byzantium
> and give the eastern Rome a twirl on the dancefloor. He (Nick) only has two
> more weeks on this, so we won't get a lot more functionality done, but I think
> it is a foundation our community can build on. It is a lot easier to hack than Roma,
> comprising under 1000 lines of Javascript, and no external dependencies apart
> from OxGarage.
Sorry I haven't been able to help with this. The last couple of months
have been insanely busy. I do want to get involved as soon as I can, though.
Cheers,
Martin
> --
> Sebastian Rahtz
> Director (Research Support) of Academic IT Services
> University of Oxford IT Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
> .
>
--
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
More information about the tei-council
mailing list