All,
having some problem after upgrading to version 3.5M1. I have attached the stack trace and the offending code: > org.orbeon.oxf.common.ValidationException: null, line 0, column 0: Error tag name "xxf:submission" is not allowed. Possible tag names are: <divs>(schema: > oxf:/ops/xforms/xforms-server-response.rng) > null, line 0, column 0: Error tag name "xxf:submission" is not allowed. Possible tag names are: <divs>(schema: oxf:/ops/xforms/xforms-server-response.rng ) Steps to reproduce: 1. Load attached all.knowledgebases.test.xml 2. Click on link named 'edit knowledgebase' 3. Note the XForms error in the tomcat log Not sure if I am doing something wrong, or if this is a bug. Any help or tips would be appreciated :-) Thanks! Sincerely, Henrik Pettersen Advanced Computation Laboratory Cancer Research UK -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Henrik,
I do not reproduce this with 3.5 M1: the submission is performed correctly at /knowledgebase/edit when I try this in the sandbox. Did you get rid of your resources/ops and resources/config/theme directories? -Erik Henrik Pettersen wrote: > All, > > having some problem after upgrading to version 3.5M1. I have attached > the stack trace and the offending code: > > > org.orbeon.oxf.common.ValidationException: null, line 0, column 0: > Error tag name "xxf:submission" is not allowed. Possible tag names are: > <divs>(schema: > > oxf:/ops/xforms/xforms-server-response.rng) > > null, line 0, column 0: Error tag name "xxf:submission" is not > allowed. Possible tag names are: <divs>(schema: > oxf:/ops/xforms/xforms-server-response.rng ) > > Steps to reproduce: > 1. Load attached all.knowledgebases.test.xml > 2. Click on link named 'edit knowledgebase' > 3. Note the XForms error in the tomcat log > > Not sure if I am doing something wrong, or if this is a bug. Any help or > tips would be appreciated :-) > > Thanks! > > Sincerely, > Henrik Pettersen > Advanced Computation Laboratory > Cancer Research UK > > > ------------------------------------------------------------------------ > > <xhtml:html xmlns="" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:aspic="http://www.cruk.com/aspic/editor/v1" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xi="http://orbeon.org/oxf/xml/xinclude" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:exf="http://www.exforms.org/exf/1-0" > xsl:version="2.0"> > <xhtml:head> > <xhtml:meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> > <xhtml:title> Knowledgebase Management </xhtml:title> > <xforms:model> > > <xforms:instance id="knowledgebases"> > <aspic:knowledgebases> > <aspic:knowledgebase> > <aspic:id>275</aspic:id> > <aspic:name>Nixon Diamond2</aspic:name> > <aspic:caption>Nixon Diamond</aspic:caption> > <aspic:description>Nixon Diamond</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>276</aspic:id> > <aspic:name>Mixed unification</aspic:name> > <aspic:caption>Mixed unification</aspic:caption> > <aspic:description>Mixed unification</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>277</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Floating conclusion</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>278</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Floating stub</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>279</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Term unification</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>280</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Variable unification</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>281</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Variable non-unification</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>282</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Constant unification</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>283</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Constant non-unification</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>284</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>BugFix - Should be able to handle floats</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > <aspic:knowledgebase> > <aspic:id>285</aspic:id> > <aspic:name>JUNIT_NAME</aspic:name> > <aspic:caption>Test restricted-rebutting (1) - setup problem</aspic:caption> > <aspic:description>JUNIT_DESCRIPTION</aspic:description> > </aspic:knowledgebase> > </aspic:knowledgebases> > </xforms:instance> > > <xforms:instance id="single-knowledgebase"> > <aspic:knowledgebase> > <aspic:id/> > <aspic:name/> > <aspic:caption/> > <aspic:description/> > </aspic:knowledgebase> > </xforms:instance> > > <xforms:submission id="create-knowledgebase-submission" > ref="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]" > method="post" > action="/knowledgebase/new"/> > > <xforms:submission id="edit-knowledgebase-submission" > ref="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]" > method="post" > action="/knowledgebase/edit"/> > > <xforms:submission id="delete-knowledgebase-submission" > ref="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]" > method="post" > action="/knowledgebase/delete"/> > > <xforms:submission id="export-submission" > ref="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]" > method="post" > action="/knowledgebase/export"/> > > <xforms:submission id="copy-knowledgebase-submission" > ref="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]" > method="post" action="/knowledgebase/copy/prompt"/> > > </xforms:model> > </xhtml:head> > <xhtml:body> > <xhtml:div id="ASPICcontainer"> > <xhtml:div id="ASPICcenter" class="ASPICcolumn"> > <xhtml:div id="ASPICLogout"> > <xhtml:a href="/authentication/logout" alt="Logout" title="Logout / Exit"><xhtml:img src="/styling/img/exit.png"/></xhtml:a> > </xhtml:div> > <xhtml:div id="ASPICLogo"> > <xhtml:img src="styling/img/aspic.logo.mod.png"/> > </xhtml:div> > <xhtml:div id="ASPICnavigation" > > <xhtml:ul> > <xhtml:li><xhtml:a href="/"><xhtml:img src="/styling/img/topnav/help.small.noshadow.png" title="Help" alt="Help"/></xhtml:a></xhtml:li> > <xhtml:li><xhtml:a href="/knowledgebases"><xhtml:img src="/styling/img/topnav/books.large.shadow.png" title="Knowledgebase Management" alt="Knowledgebase Management"/></xhtml:a></xhtml:li> > <xhtml:li><xhtml:a href="/query"><xhtml:img src="/styling/img/topnav/flash.small.noshadow.png" title="Query Management" alt="Query Management"/></xhtml:a></xhtml:li> > <xhtml:li><xhtml:a href="/users"><xhtml:img src="/styling/img/topnav/users.small.noshadow.png" title="User Management" alt="User Management"/></xhtml:a></xhtml:li> > </xhtml:ul> > </xhtml:div> > <!-- *************************** BODY ******************************************************** --> > <xhtml:div id="knowledgebase2"> > <xhtml:table > > <xhtml:tr> > <xhtml:td><xhtml:h4>Name</xhtml:h4></xhtml:td> > <xhtml:td><xhtml:h4>Caption</xhtml:h4></xhtml:td> > <xhtml:td><xhtml:h4>Description</xhtml:h4></xhtml:td> > </xhtml:tr> > <xforms:repeat nodeset="instance('knowledgebases')/aspic:knowledgebase" id="repeat-knowledgebase"> > <xhtml:tr> > <xhtml:td> > <xforms:output ref="aspic:name"/> > </xhtml:td> > <xhtml:td> > <xforms:output ref="aspic:caption"/> > </xhtml:td> > <xhtml:td> > <xforms:output ref="aspic:description"/> > </xhtml:td> > </xhtml:tr> > </xforms:repeat> > </xhtml:table> > </xhtml:div> > > <xhtml:div id="knowledgebase2-navigation-highlighted"> > <xhtml:ul> > <!-- COPY KNOWLEDGEBASE --> > <xhtml:li> > <img src="styling/img/copy.small.png"/>  > <xforms:trigger appearance="xxforms:link"> > <xforms:label>Copy Knowledgebase</xforms:label> > <xforms:action ev:event="DOMActivate"></xforms:action> > </xforms:trigger> > </xhtml:li> > <!-- EXPORT KNOWLEDGEBASE --> > <xhtml:li> > <img src="styling/img/export1.png"/>  > <xforms:trigger appearance="xxforms:link"> > <xforms:label>Export Knowledgebase</xforms:label> > <xforms:action ev:event="DOMActivate"></xforms:action> > </xforms:trigger> > </xhtml:li> > <!-- EDIT KNOWLEDGEBASE --> > <xhtml:li> > <img src="styling/img/document_edit.small.png"/>  > <xforms:trigger appearance="xxforms:link"> > <xforms:label>Edit Knowledgebase</xforms:label> > <xforms:action ev:event="DOMActivate"> > <xforms:setvalue ref="instance('single-knowledgebase')/aspic:id" value="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]/aspic:id"/> > <xforms:setvalue ref="instance('single-knowledgebase')/aspic:name" value="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]/aspic:name"/> > <xforms:setvalue ref="instance('single-knowledgebase')/aspic:string" value="instance('knowledgebases')/aspic:knowledgebase[index('repeat-knowledgebase')]/aspic:string"/> > <xforms:send submission="edit-knowledgebase-submission"/> > </xforms:action> > </xforms:trigger> > </xhtml:li> > <xhtml:li> > <!-- DELETE KNOWLEDGEBASE --> > <xforms:switch> > <xforms:case id="delete"> > <img src="styling/img/document_delete.png"/>  > <xforms:trigger appearance="xxforms:link"> > <xforms:label>Delete Knowledgebase</xforms:label> > <xforms:toggle case="confirm" ev:event="DOMActivate"/> > </xforms:trigger> > </xforms:case> > > <xforms:case id="confirm"> > <img src="styling/img/warning2.png"/>Are you sure? > <xforms:trigger appearance="xxforms:link"> > <xforms:label>Delete</xforms:label> > <xforms:action ev:event="DOMActivate"> > <!--xforms:setvalue ref="instance('single-query')/aspic:id" > value="instance('selection')/aspic:selection[index('queries-repeat')]/aspic:query/aspic:id"/> > <xforms:setvalue ref="instance('single-query')/aspic:queryString" > value="instance('selection')/aspic:selection[index('queries-repeat')]/aspic:query/aspic:queryString"/> > <xforms:setvalue ref="instance('single-query')/aspic:caption" > value="instance('selection')/aspic:selection[index('queries-repeat')]/aspic:query/aspic:caption"/> > <xforms:setvalue ref="instance('single-query')/aspic:description" > value="instance('selection')/aspic:selection[index('queries-repeat')]/aspic:query/aspic:description"/> > <xforms:send submission="delete-query-submission"/--> > </xforms:action> > </xforms:trigger> > <xforms:trigger appearance="xxforms:link"> > <xforms:label>  Cancel</xforms:label> > <xforms:toggle case="delete" ev:event="DOMActivate"/> > </xforms:trigger> > </xforms:case> > </xforms:switch> > </xhtml:li> > </xhtml:ul> > </xhtml:div> > > <xhtml:div id="knowledgebase2-navigation-global"> > <xhtml:ul> > <!-- IMPORT KNOWLEDGEBASE --> > <xhtml:li> > <xhtml:a href="/knowledgebase/import/prompt"> > <img src="styling/img/import1.small.png"/> Import A Knowledgebase > </xhtml:a> > </xhtml:li> > <!-- NEW KNOWLEDGEBASE --> > <xhtml:li> > <xhtml:a href="/knowledgebase/new"><img src="styling/img/star_yellow_add.small.png"/> New knowledgebase</xhtml:a> > </xhtml:li> > <!-- IMPORT TEST DATA --> > <xhtml:li> > <xhtml:a href="/knowledgebase/testimport"><img src="styling/img/text_align_left.png"/> Import Test Data</xhtml:a> > </xhtml:li> > </xhtml:ul> > </xhtml:div> > <!-- *************************** END BODY ******************************************************** --> > <xhtml:div id="ASPICfooter"> > <xhtml:p>For comments, suggestions, critique and questions, please email us @ <xhtml:a href="mailto: [hidden email]">The ASPIC Project</xhtml:a></xhtml:p> > <xhtml:p> > <xhtml:img src="styling/img/ops-powered-80.png"/> > </xhtml:p> > </xhtml:div> > </xhtml:div> <!-- ASPICcenter --> > <div id="ASPICleft" class="ASPICcolumn"><!--xhtml:img src="styling/img/aspic.logo.png" /--></div> > <div id="ASPICright" class="ASPICcolumn"><!--xhtml:a href="/authentication/logout" alt="logout" title="logout"><xhtml:img src="/styling/img/exit.png"/></xhtml:a--></div> > </xhtml:div> <!-- ASPICContainer --> > </xhtml:body> > </xhtml:html> > > > ------------------------------------------------------------------------ > > org.orbeon.oxf.common.ValidationException: null, line 0, column 0: Error tag name "xxf:submission" is not allowed. Possible tag names are: <divs>(schema: oxf:/ops/xforms/xforms-server-response.rng) > null, line 0, column 0: Error tag name "xxf:submission" is not allowed. Possible tag names are: <divs>(schema: oxf:/ops/xforms/xforms-server-response.rng) > at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3$2.error(MSVValidationProcessor.java:197) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) > at com.sun.msv.verifier.Verifier.startElement(Verifier.java:193) > at org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java:80) > at org.orbeon.oxf.xml.ContentHandlerHelper.startElement(ContentHandlerHelper.java:78) > at org.orbeon.oxf.xml.ContentHandlerHelper.startElement(ContentHandlerHelper.java:100) > at org.orbeon.oxf.xml.ContentHandlerHelper.element(ContentHandlerHelper.java:124) > at org.orbeon.oxf.xforms.processor.XFormsServer.outputSubmissionInfo(XFormsServer.java:861) > at org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:428) > at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:256) > at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:48) > at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:77) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966) > at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) > at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44) > at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:219) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990) > at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195) > at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) > at org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58) > at org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54) > at org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147) > at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470) > at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138) > at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652) > at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536) > at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649) > at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86) > at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95) > at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:147) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Aye, there's the rub. Thanks, Erik! Henrik On 9/29/06, Erik Bruchez <[hidden email]> wrote:
Henrik, |
Free forum by Nabble | Edit this page |