I think I know the problem. I haven't assigned a default namespace with GBean.jelly.
- len --- "L. Yeung" <[EMAIL PROTECTED]> wrote: > Actually, Im writing XDoclet2, xdoclet-plugins with > Jelly as template engine. I don't know if this is > just > me. It seems that if I take out the > xmlns="http://blah..." from the bean tag, it won't > doesn't show xmlns="". I turned on the inherited > attribute by default. > > -len > > --- Dion Gillard <[EMAIL PROTECTED]> wrote: > > > Personally, I've got no idea why. Could you please > > file a JIRA issue? > > > > Thanks, > > > > > > On Thu, 16 Dec 2004 03:39:36 -0800 (PST), L. Yeung > > <[EMAIL PROTECTED]> wrote: > > > Hi! I've an xml element with an assigned > namespace > > and > > > embedded inside it i called jelly:xml import > > another > > > jelly file. The resulting xml tags (embedded) > > contains > > > xmlns="". Any idea on how to remove the xmlns? > > > Thanks. > > > Main.jelly > > > <?xml version="1.0" encoding="UTF-8"?> > > > <j:jelly xmlns:j="jelly:core" > xmlns:x="jelly:xml"> > > > <j:set var="class" value="${metadata}"/> > > > <j:import uri="oCConfig.jelly" > > inherit="true"/> > > > </j:jelly> > > > > > > Config.jelly > > > <?xml version="1.0" encoding="UTF-8"?> > > > <j:jelly xmlns:j="jelly:core" > xmlns:x="jelly:xml" > > > xmlns:helper="helper"> > > > > > > <configuration > > > xmlns="http://blah.org/xml/ns/deployment" > > > <j:forEach var="beanTag" > > > > items="${class.getTagsByName('g.config-gbean')}"> > > > <j:import uri="Gbean.jelly" > > > inherit="true"/> > > > </j:forEach> > > > </configuration> > > > </j:jelly> > > > > > > Gbean.jelly: > > > <j:jelly xmlns:j="jelly:core"> > > > <j:set var="beanClass" > > > value="${class.fullyQualifiedName}"/> > > > <j:if test="${beanTag.clazz != null}"> > > > <j:set var="beanClass" > > > value="${beanTag.clazz}"/> > > > </j:if> > > > <bean name="${beanTag.name_}" > > > class="${beanClass}"> > > > </bean> > > > </j:jelly> > > > > > > Result: > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > > > <configuration > > > xmlns="http://blah.org/xml/ns/deployment" > > > parentId="MyParentId" configId="MyConfigId"> > > > <bean xmlns="" name="name" class="ss/> > > > </configuration> > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail - Find what you need with new > enhanced > > search. > > > http://info.mail.yahoo.com/mail_250 > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > > -- > > http://www.multitask.com.au/people/dion/ > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > __________________________________ > Do you Yahoo!? > Send holiday email and support a worthy cause. Do > good. > http://celebrity.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
