You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Wannheden, Knut" <kn...@paranor.ch> on 2003/03/18 17:36:57 UTC

[jelly] problem outputing xml namespaces

Hi,

I just noticed a rather awkward problem when Jelly outputs XML elements with
namespace attributes.  Somehow it doesn't output a doublequote after the
namespace URI (attribute value).  Take this script for example:

	<j:jelly xmlns:j="jelly:core" trim="false">
	 <foo x="y" xmlns=""/>
	 <foo:foo xmlns:foo="urn:foons"/>
	</j:jelly>

The output generated by Jelly is:

	 <foo xmlns=" x="y"></foo>
	 <foo:foo xmlns:foo="urn:foons></foo:foo>

For both namespace declarations the doublequote after the namespace URI is
missing.  Is this a problem in Jelly or dom4j even?  Either way: Should
Jelly bugs be reported using JIRA or BugZilla?

This test was run using the current CVS version of Jelly.

Another question about the build of Jelly: What's the easiest way to
generate a complete binary distribution including all the other tag
libraries?  Also it seems like the forehead.jar in the lib directory of a
distribution is actually called forehead-1.0-beta-2.jar which causes the
jelly command line scripts to fail.

Cheers,

--
knut