prefer use of attributes="..." over publish block