Kamal Bhatt (JIRA) wrote:
jx:attribute does not check name is correct before proceeding
-------------------------------------------------------------
Key: COCOON-2212
URL: https://issues.apache.org/jira/browse/COCOON-2212
Project: Cocoon
Issue Type: Improvement
Components: Blocks: Templating
Affects Versions: 2.1.12-dev (Current SVN), 2.2, 2.2-dev (Current SVN)
Reporter: Kamal Bhatt
Fix For: 2.2-dev (Current SVN)
Currently, jx:attribute does not validate that the name is correct before
generating attribute. This patch fixes this.
Also, refactors the JXTemplateGeneratorTestCase
I was also going to update jx:attribute to support namespaces and
prefixes, but when I added the namespace to
AttributeAwareXMLConsumer.attribute I got no namespace. I tracked the
namespace and it was going through the system. Not too sure if this is a
bug or a feature of AttributeAwareXMLConsumer, may investigate further,
but it isn't a high priority for me.