Namespace and X-App

X-Application Version: 3.1.2
Tamino Version : 4.1.1.1
Platform : Win2k
WebContainer : Tomcat 3.3a
JDK Version : 1.3.1_04

Hi,

I have a schema where i can insert a xml-signature with namespace “ds”. Always when i try to get entries, where this signature exists, i get a nullpointer exception from x-app, with following stack trace:

Error message: internal error
Help message:
Stacktrace:


XException: id = 999
java.lang.NullPointerException
at com.softwareag.xtools.xapplication.businessdocument.ElementNode.hasSimpleType(ElementNode.java:154)
at com.softwareag.xtools.xapplication.jsp.taglib.IfTag.processCondition(IfTag.java:141)
at com.softwareag.xtools.xapplication.jsp.taglib.ConditionTag.doStartTagCore(ConditionTag.java:96)
at com.softwareag.xtools.xapplication.jsp.taglib.IfTag.doStartTagCore(IfTag.java:120)
at com.softwareag.xtools.xapplication.jsp.JspTag.doStartTag(JspTag.java:142)
at browse_1._jspService(browse_1.java:646)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:479)


I have attached the schema as well.

Thanks for help,

A. Grahl

[This message was edited by Christian Freytag on 21 Mar 2003 at 12:34.]
FlexiTrust.xsd (3.34 KB)

Hello,

you have the same problem as Carl Hoffmann who posted the following topic

Schema w/ import gives error 500

X-Application 3.1.3 is not able to deal with namespaces. Therefore, I tried out your schema with the current version (X-Application 4.1.1) we are currently working on.

Within your schema an xs:import tag is used. Could you post also the schema referenced by

’xmldsig-core-schema’.

Many thanks.

Bye,
Christian.

Hello,

namespace support and supporting schemas tat import another schema are new features of X-Application 4.1.1.

The problems addressed by this topic does not longer appear.

Bye,
Christian.