[MEI-L] MEI as XSD or DTD
maximumspatium at googlemail.com
Fri Nov 13 12:26:24 CET 2015
> 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
Our project - Audiveris optical music recognition system (www.audiveris.org)
- is currently working on adding a support for MEI. Because Audiveris has
been programmed in Java, it depends on the native JDK tool - xjc - for
parsing XML schemata. Although xjc has an experimental support for RelaxNG,
it currently doesn't work properly so it's unusable in our case.
We therefore need to convert MEI RelaxNG schema to XSD by using a
third-party converter first, then write a customization file that helps xjc
to resolve several conflicts in the resulted MEI schema in order to make it
usable by JAXB.
Therefore I vote for maintaining compatibility to XSD because I don't know
how to make RelaxNG to work in Java without the conversion to XSD.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mei-l