[jboss-dev-forums] [Design of JBossXB] - Re: problem parsing sip.xml with JBossXB
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Fri Jan 9 10:23:00 EST 2009
Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'servlet-name'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":servlet-name}' is expected. @ vfszip:/home/deruelle/servers/jboss-5.0.0.GA/server/default/deploy/call-blocking-1.2-SNAPSHOT.war/WEB-INF/sip.xml[16,17]
So, it expects "http://java.sun.com/xml/ns/javaee":servlet-name
Which means javaee:servlet-name in the xml.
It won't work with the namespace declarations commented out.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200611#4200611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200611
More information about the jboss-dev-forums
mailing list