W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2008

RE: Possible problems with unsupported steps

From: <Toman_Vojtech@emc.com>
Date: Fri, 31 Oct 2008 10:18:24 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870D40504D@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> 
> > 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC