Re: Bug in definition of linkGrp?
Efraim Feinstein <feinst <at> FAS.HARVARD.EDU>
2012-06-08 03:20:08 GMT
On 06/07/2012 09:40 PM, Sebastian Rahtz wrote:
> On 7 Jun 2012, at 11:28, Efraim Feinstein wrote:
>> After generating a schema from Roma and trying to validate against it, I got an error indicating that the
linkGrp element has duplicate <at> target attributes. linkGrp is a member of both att.pointing.group
(which contains att.pointing) and att.pointing, which generates the duplicate attribute.
> I am afraid I cannot reproduce this. You'll have to show us your ODD.
It's a rather long one, and it took a bunch of steps to create in Roma,
so I'm not sure if I can tell you exactly where the problem began. My
best guess is below. It's also been edited since I got it out of Roma,
but the problem existed before the edits. I'm attaching the ODD.
Validating any XML against it now gives:
jlptei.rnc:1905:3: error: duplicate attribute "targetLang"
(earlier, it was about "target")
Removing att.pointing from linkGrp fixes the problem. I noticed (after I
sent the last mail) that I did modify att.pointing.group (from within
Roma) to remove some attributes, so that might be the cause.
feinst <at> fas.harvard.edu