RE: Possible problems with unsupported steps

> 
> > Hmm. I think perhaps the spec is unclear, but I believe the 
> intent is
> > that a declaration must always be present. If the processor 
> encounters
> > an element for which it doesn't have a declaration, then I think
> > that's err:XS0044.
> 
> I had an interesting discussion about what XS0044 actually means some
> days ago. My understanding is that it is about what content the XProc
> schema permits inside the elements in the XProc namespace, in 
> which case
> 
>    <p:pipeline xmlns:p="..." xmlns:foo="...">
>      <foo:whatever/>
>    </p:pipeline>
> 
> is perfectly fine, but:
> 
>    <p:pipeline xmlns:p="...">
>      <whatever/>
>    </p:pipeline>
> 
> is not.
> 
> If XS0044 is meant also for reporting missing step 
> declarations, I think
> the error description should be updated.
> 

I think you are right, the declaration must always be present (either
explicitly or implicitly). I forgot about this somehow. That definitely
makes things simpler...

But I am still not sure that handling of undeclared steps is covered by
XS0044.


Regards,
Vojtech

Received on Friday, 31 October 2008 14:19:17 UTC