Re: XSD bug in XProc 1.0 schema

>> The RELAX NG grammar says that name is allowed on p:catch, but the XSD
>> says:
>> 
>>  <element name="catch">
>>   <complexType>
>>    <complexContent>
>>     <restriction base="p:componentType">
>>      <group ref="p:groupModel"/>
>>      <attribute name="name" use="prohibited"/>
>>      <anyAttribute namespace="##other" processContents="lax"/>
>>     </restriction>
>>    </complexContent>
>>   </complexType>
>>  </element>
>> 
>> I think that's a bug in the XSD. The DTD seems to have the same bug. I
>> wonder if the RNG is wrong?

The bug is there all the way back to the beginning in the XSD and DTD,
i.e. rev 1.1 in CVS -- I suspect I just made a mistake early on, and
we never caught it, because none of the pipelines I tested on ever had
a named catch. . .

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Wednesday, 16 May 2012 07:55:06 UTC