[MEI-L] JAXB vs MEI - generating Java classes from MEI XSD schemas
Andrew Hankinson
andrew.hankinson at mail.mcgill.ca
Fri Jun 2 15:01:33 CEST 2017
Is there a reason you're not just using a raw XML library for this? The only advantage a Java library would give you, as far as I know, is type-safe access to the MEI elements.
If you want to chat about this directly, I'm on the MEI slack channel today.
https://join.slack.com/music-encoding/shared_invite/MTg3Nzg4NDI1NTA0LTE0OTU3OTA2NTItZmRhZTAxOGE5Zg
-Andrew
> On 2 Jun 2017, at 13:56, mcupak <Marek.Cupak at oeaw.ac.at> wrote:
>
> Hello Andrew,
>
> thanks for your answer.
>
> I have to transform data from an old database into meiHead descriptors.
>
> Regarding the xjc tool usage, I wrote external bindings file, but I'm getting other errors - multiple class declarations ("Two declarations cause a collision in the ObjectFactory class.") and class/interface already in use (for complex types).
>
>
> Best regards,
>
> Marek
>
>
>
> On 2017-06-02 14:46, Andrew Hankinson wrote:
>> Hi Marek,
>>
>> We've tried it, but the MEI spec is quite complex. I think the final library ended up being quite large, and it didn't really work adequately.
>>
>> What are you trying to do, specifically?
>>
>> -Andrew
>>
>>> On 2 Jun 2017, at 13:42, mcupak <Marek.Cupak at oeaw.ac.at> wrote:
>>>
>>> Dear colleagues,
>>>
>>> is there somebody who successfully generated Java classes from MEI XSDs?
>>>
>>> I would very much like to do so, but I'm having a hard time trying it.
>>>
>>> Best regards,
>>> Marek Cupak
>>>
>>> _______________________________________________
>>> 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
>
More information about the mei-l
mailing list