[MEI-L] MEI as XSD or DTD
Raffaele Viglianti
raffaeleviglianti at gmail.com
Fri Nov 13 14:37:33 CET 2015
I think support for XSD is highly desirable, especially because it's a W3C
recommendation. I agree with Anna that there is generally more support for
XSD than Relax.
On the other hand, I wouldn't mind dropping DTD support since it's arguably
been superseded by schemata and we may run into more problems with it in
the future.
Max, great to hear that Audioveris is adding support for MEI! If you need
XSD, I would recommend generating it from out ODD (our source schema)
instead of converting the rng. You'll need to run the TEI Stylesheets (
https://github.com/TEIC/Stylesheets) to do so, but it's not complicated, I
can provide instructions if you like.
Perry, what about allowing both text and <eventList>? Would it be bad to
allowed mixed content in this case? (Sorry I haven't really looked into
this too hard).
Best,
Raff
On Fri, Nov 13, 2015 at 8:24 AM, Andrew Hankinson <
andrew.hankinson at mail.mcgill.ca> wrote:
> No, don't be confused! I'm not an "XML person" so my knowledge of the
> kinds of tools that are out there is somewhat limited. That's why I asked.
>
> -Andrew
>
> On Nov 13, 2015, at 11:58 AM, Anna Plaksin <annplaksin at gmx.net> wrote:
>
> Hi Andrew,
>
> some months ago I was looking for XML editors with schema-based
> auto-completion and Oxygen is the only one I know with RNG support. Some
> others, as Rinzo, the TextGrid Lab and the XML Tools Plugin for Notepad++
> support only auto-completion based on XSD.
> And, okay… because C# is the programming language I’m using most, I don’t
> know how good the RelaxNG support in other frameworks is, but the .net
> framework provides native support of XML schema without any external
> libraries.
>
> I have to admit that I am a little bit surprised of your question. Apart
> from the “digital humanities community” I don’t know any person working
> with XML data that are aware of RelaxNG, they’re all using XML schema. Hm,
> I feel a little bit confused right now.
> Maybe in this situation I would feel fine if you just wait for other
> feedback.
>
> Regards,
> Anna
>
> *Von:* mei-l [mailto:mei-l-bounces at lists.uni-paderborn.de
> <mei-l-bounces at lists.uni-paderborn.de>] *Im Auftrag von *Andrew Hankinson
> *Gesendet:* Freitag, 13. November 2015 09:23
> *An:* Music Encoding Initiative <mei-l at lists.uni-paderborn.de>
> *Betreff:* Re: [MEI-L] MEI as XSD or DTD
>
> Hi Anna,
>
> I'm curious to know which tools are in use that don't support RelaxNG --
> is there a quick example you can share?
>
> -Andrew
>
>
> On Nov 13, 2015, at 8:18 AM, Anna Plaksin <annplaksin at gmx.net> wrote:
>
> Hello Perry,
>
> I would appreciate compatibility with XML Schema just because of the
> widespread support. Many more Editors and Frameworks natively support XML
> processing with automated validation against an XSD file. I experimented
> sometimes with a converted RNG file but there occurred false validation
> errors.
> So, I would be very happy about compatibility but I see your point either.
> If I am the only one wishing for it, this topic would seem rather
> unimportant to me…
>
> Regards,
> Anna
>
> *Von:* mei-l [mailto:mei-l-bounces at lists.uni-paderborn.de
> <mei-l-bounces at lists.uni-paderborn.de>] *Im Auftrag von *Roland, Perry D.
> (pdr4h)
> *Gesendet:* Donnerstag, 12. November 2015 21:49
> *An:* mei-l at lists.uni-paderborn.de
> *Betreff:* [MEI-L] MEI as XSD or DTD
>
>
> Hello all,
>
> The current content model of <provenance> uses a neat RNG trick that
> allows either an <eventList> or a text phrase. No other schema language
> allows this kind of thing, so conversion of the RNG to an XSD or DTD form
> won't work. Is there a need to maintain compatibility with XML Schema or
> DTDs?
>
> --
> p.
>
> ________________________________
> Perry Roland
> University of Virginia
> P. O. Box 400874
> Charlottesville, VA, 22904
> 434-982-2702 (w)
> pdr4h (at) virginia (dot) edu
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20151113/b83c5b22/attachment.html>
More information about the mei-l
mailing list