cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Piroumian <kpiroum...@apache.org>
Subject Re: [C2.1] 'mime-type' in transformer declaration
Date Fri, 31 May 2002 16:15:41 GMT
From: "Sylvain Wallez" <sylvain.wallez@anyware-tech.com>
> Vadim Gritsenko wrote:
>
> >>From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> >>
> >>Konstantin Piroumian wrote:
> >>
> >>
> >>
> >>>Hi!
> >>>
> >>>I've found this line in the 'flow' sample:
> >>>
> >>><map:transformer name="augment"
> >>>src="org.apache.cocoon.transformation.AugmentTransformer"
> >>>mime-type="text/xml" logger="sitemap.transformer.augment"/>
> >>>
> >>>Is it really allowed the 'mime-type' attribute in transformer
declaration?
> >>>
> >>>
> >>No, this attribute isn't allowed and is ignored by the sitemap engine.
> >>
> >>
> >
> >Does it log error or warning on illegal attributes/elements?
> >
>
> No, they are silently ignored.
>
> Konstantin's schema could allow stronger checks to be enforced directly
> by the parser.

Seems that it takes more time than I expected. I had to throw away most of
the autogenerated part and re-write it by hand. Currently, the map:component
and actions parts of the schema are ready, hope to finish the rest on
Monday.

Konstantin

>
> Sylvain
>
> --
> Sylvain Wallez
>   Anyware Technologies                  Apache Cocoon
>   http://www.anyware-tech.com           mailto:sylvain@apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message