Hello Ittay It's not quite a dummy tag, but can be. If you want to insert static xml it acts like this, but as the merge file needs to be a jelly script, it can be just it - a script.
Diogo PS: Seems an empty comment from my behalf but this guarantees the xml correctness and adds the possibility to add some extra behavior. ----------------------------------- Diogo Bacelar Quintela EF - Tecnologias de Informação, Lda. Av. António Serpa, 26 - 4º Dto. 1050-027 Lisboa, Portugal Tel: (+351) 217 827 800 Fax: (+351) 217 827 830 Email: [EMAIL PROTECTED] PGP: 0xF51A5AB9 > -----Original Message----- > From: Ittay Dror [mailto:[EMAIL PROTECTED] > Sent: domingo, 30 de Outubro de 2005 14:25 > To: [email protected] > Subject: Re: [xdoclet-user] can't use servlets.xml merge point > > for whoever is concerned: the fix to this issue is to wrap the real xml > content with j:jelly tag. this is a dummy tag, that serves no purpose > other than to be there for validation > > ittay > > Konstantin Priblouda wrote: > > Your question is better asked in dedicated plugins > > list. This list is for xdoclet core development. > > > > Probable cause for your problem could be that you > > failed to include your mergedir into classpath. > > > > > > regards, > > > > > > > > --- Ittay Dror <[EMAIL PROTECTED]> wrote: > > > >> i have a servlets.xml file, which worked for xdoclet > >> 1 and contains just a bunch of <servlet> </servlet> > >> tags (no <?xml> tag, or anything else) > >> > >> xdoclet chokes with: > >> Caused by: > >> org.apache.commons.jelly.JellyTagException: > >> > > jar:file:/home/ittayd/.maven/repository/xdoclet-plugins/jars/xdoclet- > plugin-web-1.0.2.jar!/org/xdoclet/plugin/web/WebPlugin.jelly:100:58: > >> <x:merge> could not import script > >> at > >> > > org.xdoclet.plugin.web.jelly.MergeTag.doTag(MergeTag.java:69) > >> at > >> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) > >> at > >> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) > >> at > >> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) > >> at > >> > > org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) > >> at > >> > > > org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102 > ) > >> at > >> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) > >> at > >> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) > >> at > >> > > org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:45) > >> at > >> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:590) > >> at > >> > > org.generama.JellyTemplateEngine.generate(JellyTemplateEngine.java:51) > >> ... 23 more > >> Caused by: org.apache.commons.jelly.JellyException: > >> null:-1:-1: <null> Could not parse Jelly script > >> at > >> > > > org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:547) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:678) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) > >> at > >> > > org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:655) > >> at > >> > > org.xdoclet.plugin.web.jelly.MergeTag.doTag(MergeTag.java:66) > >> ... 36 more > >> Caused by: org.xml.sax.SAXParseException: The markup > >> in the document following the root element must be > >> well-formed. > >> at > >> > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > >> Source) > >> at > >> > > org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254) > >> at > >> > > > org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:543) > >> ... 40 more > >> > >> > >> please help, > >> thanx, > >> ittay > >> > >> > >> -- > >> =================================== > >> Ittay Dror ([EMAIL PROTECTED]) > >> Application Team Leader, R&D > >> Qlusters Inc. > >> +972-3-6081994 Fax: +972-3-6081841 > >> > > > > > > ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- > > Still using XDoclet 1.x? XDoclet 2 is released and of production > quality. > > check it out: http://xdoclet.codehaus.org > > > > > > > > __________________________________ > > Start your day with Yahoo! - Make it your home page! > > http://www.yahoo.com/r/hs > > > > > -- > =================================== > Ittay Dror ([EMAIL PROTECTED]) > Application Team Leader, R&D > Qlusters Inc. > +972-3-6081994 Fax: +972-3-6081841
smime.p7s
Description: S/MIME cryptographic signature
