Vadim Gritsenko wrote:
>
> Attached please find "lint" sitemap.
>
> Vadim
>
> > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> >
> > Guys,
> >
> > Let's vote on this sooner then later...
> > I propose following changes to the current sitemap syntax. Consider
> this
> > as the first step towards implementation of "Retuning Sitemap Design"
> > thread.
> >
> > Summary of the proposed changes:
> >
> > 1. A pipeline may contain *all* components at the first level.
> >
+5
> > 2. Pipelines are to be validated against following rules:
> > (1) all pipelines must have generator or
> reader|mount|redirect|call.
> > (exclusion: handle-errors)
+1
> > (2) pipelines with generator|transformer must have serializer
> > (exclusion: handle-errors always must have serializer)
+1
> > (3) readers|serializers|mount|call|redirect must never have other
> > sitemap
> > components after them.
+1
> > (4) matchers and selectors without nested direct components are
> > illegal
> >
-0, this is again a restriction which I think is not necessary
> > 3. Token expansion is allowed for all attributes.
> >
+5
Quoting your examples:
<map:pipeline>
<map:generate src="sitemap.xmap"/>
<map:serialize/>
<map:handle-errors>
</map:handle-errors>
</map:pipeline>
Why is this not valid? Because of the empty handle-errors? If so,
it's ok. But we should not force to have a handle-errors section!
Currently this can be left out, so to be compatible, this must remain.
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]