Hello,
The Any node type is very useful for my application.
Unfortunately the Xapplication seems as if not supporting this node type.
I recieve the following error when I try to generate an application for a schema that contains this type of node.
Will I be able to use this type of node in the following versions ??
Error: 500
Location: /xappgen/GuiServletInternal Servlet Error:AssertionFailed: unprocessed schema node ‘any’ under ‘//son’
com.softwareag.xtools.xapplication.common.AssertionFailed
unprocessed schema node ‘any’ under ‘//son’
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.processNode(DepthFirstSchemaProcessor.java:168)
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.processSequenceNode(DepthFirstSchemaProcessor.java:353)
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.processNode(DepthFirstSchemaProcessor.java:153)
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.processComplexNode(DepthFirstSchemaProcessor.java:231)
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.processNode(DepthFirstSchemaProcessor.java:159)
at com.softwareag.xtools.xapplication.generator.DepthFirstSchemaProcessor.process(DepthFirstSchemaProcessor.java:124)
at com.softwareag.xtools.xapplication.generator.Generator.depthFirstSearch(Generator.java:754)
at com.softwareag.xtools.xapplication.generator.Generator.generate(Generator.java:659)
at com.softwareag.xtools.xapplication.generator.GuiServlet.generateApplication(GuiServlet.java:581)
at com.softwareag.xtools.xapplication.generator.GuiServlet.callGenerator(GuiServlet.java:503)
at com.softwareag.xtools.xapplication.generator.GuiServlet.fillLayout(GuiServlet.java:398)
at com.softwareag.xtools.xapplication.generator.GuiServlet.processRequest(GuiServlet.java:307)
at com.softwareag.xtools.xapplication.generator.GuiServlet.doPost(GuiServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
X-Application Version: 3.1.1
Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.2
JDK Version : 1.3.1
[This message was edited by Christian Freytag on 26 Jul 2002 at 11:39.]
I do not think that the XApp generator is able to handle ANY yet. But it is possible to process content containing e.g. HTML tags. If you tell us what you intend to do we might be able to help.
Hello,
have a look at the new version X-Application 3.1.3. It supports element nodes of type ANY.
The simple examples of X-Application 3.1.3 contain an example how to display / modify any nodes.
After installing X-Application 3.1.3 and starting Tomcat, the simple examples are available via
http://localhost:8080/xapp
→ Simple
Bye,
Christian.