Efraim Feinstein | 7 Jun 2012 20:28
Picon

Bug in definition of linkGrp?

Hi,

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.

Thanks,

--

-- 
----
Efraim Feinstein
feinst <at> fas.harvard.edu

Sebastian Rahtz | 7 Jun 2012 20:42
Picon
Picon
Favicon

Re: Bug in definition of linkGrp?

On 7 Jun 2012, at 11:28, Efraim Feinstein wrote:

> Hi,
> 
> 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.

puzzling. the schema fragment says

   att.pointing.group.attributes
and
   att.pointing.attributes

which do not overlap. the class membership does work as expected.

I will attempt to reproduce
--
Sebastian Rahtz      
Head of Information and Support Group
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Sebastian Rahtz | 8 Jun 2012 03:40
Picon
Picon
Favicon

Re: Bug in definition of linkGrp?

On 7 Jun 2012, at 11:28, Efraim Feinstein wrote:

> Hi,
> 
> 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.
--
Sebastian Rahtz      
Head of Information and Support Group
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Efraim Feinstein | 8 Jun 2012 05:20
Picon

Re: Bug in definition of linkGrp?

On 06/07/2012 09:40 PM, Sebastian Rahtz wrote:
> On 7 Jun 2012, at 11:28, Efraim Feinstein wrote:
>
>> Hi,
>>
>> 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.

--

-- 
----
Efraim Feinstein
feinst <at> fas.harvard.edu
Harvard University
Physics Department
(Continue reading)


Gmane