cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [C2.1] 'mime-type' in transformer declaration
Date Fri, 31 May 2002 15:52:07 GMT
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.

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


Mime
View raw message