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: Strengthening setup() contract
Date Wed, 19 Mar 2003 15:40:20 GMT
Jeff Turner wrote:

>At that level, there isn't enough info to provide a user-friendly error
>message.  I think the best solution is to add a check in the
>treeprocessor's ReadNodeBuilder.  I've now got it displaying:
>
>   Reader at
>   file:/home/jeff/apache/xml/xml-forrest/build/webapp/sitemap.xmap:135:50
>   must have a 'src' attribute
>  
>

Same applies to readers : you may have some readers that don't need an 
'src' attribute. Please, let this be handled by the components that 
actually require it.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Mime
View raw message