Sylvain Wallez wrote:
BTW, on my way to support legacy, I also supported non-namespaced attributes on "i18n:" elements. This means one can write <i18n:text key="blah"> instead of <i18n:text i18n:key="blah"> which always seemed cumbersome to me.
Common sense tells me that <i18n:text key="blah"> should be the mainstream syntax, and not a legacy syntax...
Totally agree. My fix checks the non-namespaced attribute first, meaning that using non-prefixed attributes is faster ;-)
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
