RE: XSD bug in XProc 1.0 schema

Hi,

The "name" attribute must be allowed in p:catch otherwise you cannot refer to the implicit "error" port inside the p:catch.

Regards,
Vojtech

--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

> -----Original Message-----
> From: Norman Walsh [mailto:ndw@nwalsh.com]
> Sent: Wednesday, May 16, 2012 3:19 AM
> To: public-xml-processing-model-comments@w3.org
> Subject: 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?
> 
> See https://github.com/ndw/xmlcalabash1/issues/40
> 
>                                         Be seeing you,
>                                           norm
> 
> --
> Norman Walsh
> Lead Engineer
> MarkLogic Corporation
> Phone: +1 413 624 6676
> www.marklogic.com

Received on Wednesday, 16 May 2012 06:42:24 UTC