[jboss-dev-forums] [Design of JBossXB] - Re: problem parsing sip.xml with JBossXB

deruelle_jean do-not-reply at jboss.com
Fri Jan 9 11:05:25 EST 2009


"alesj" wrote : I think the problem is that you're trying to use ServletsMetaData from your SipMD w/o specifying that it belongs to different namespace than your SipMD.

I tried adding a namespace to the annotation here http://code.google.com/p/mobicents/source/browse/trunk/servers/sip-servlets/sip-servlets-jboss5/src/main/java/org/jboss/metadata/sip/spec/SipMetaData.java?r=4255#213 to no avail

I tried hacking my own SipServletsMetaData and SipServletMetaData to no avail neither

"alesj" wrote : What about if you remove the javaee namespace from sip.xml?

I tried that too same weird exception...

the error actually comes from SAX it seems the sip.xml cannot be validated against the xsd...
I wonder if there is something wrong with how the import is done in the sip.xsd[/url]

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200634#4200634

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200634



More information about the jboss-dev-forums mailing list