Hello,

The XMLFormTransformer send me back an error: it find a <group> tag that is not in my 
view page!
The error message is:
ERROR   Thread-5/XMLFormTransformer: pass through element [group]
ERROR   Thread-5/XMLFormTransformer: unknown element [group]

Here is the log (cleaned):

DEBUG   Thread-5/AbstractSAXTransformer: BEGIN setup 
resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, 
objectModel={httpresponse=org.apache.coyote.tomcat4.CoyoteResponseFacade@5a2dc4, 
response=org.apache.cocoon.environment.http.HttpResponse@72c47b, 
context=org.apache.cocoon.environment.http.HttpContext@d4f27, 
source-resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, 
request=org.apache.cocoon.environment.http.HttpRequest@4187c8, 
httprequest=org.apache.coyote.tomcat4.CoyoteRequestFacade@395f72, 
httpservletcontext=org.apache.catalina.core.ApplicationContextFacade@22c9df}, 
src=null, parameters=org.apache.avalon.framework.parameters.Parameters@73552f
DEBUG   Thread-5/AbstractSAXTransformer: END setup
DEBUG   Thread-5/AbstractSAXTransformer: BEGIN setupTransforming
DEBUG   Thread-5/AbstractSAXTransformer: END setupTransforming
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=form, raw=xf:form, 
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, 
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption)
DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat, 
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
DEBUG   Thread-5/AbstractSAXTransformer: BEGIN startRecording
DEBUG   Thread-5/AbstractSAXTransformer: END startRecording
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement 
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output, 
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, 
attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7)
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption)
DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output)
DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat)
DEBUG   Thread-5/AbstractSAXTransformer: BEGIN endRecording
DEBUG   Thread-5/AbstractSAXTransformer: END endRecording fragment=<?xml version="1.0" 
encoding="ISO-8859-1"?>
<xf:output xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002"; ref="salut">
        <xf:caption>Workstation: </xf:caption>
      </xf:output>
    
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, 
attr=org.xml.sax.helpers.AttributesImpl@30d33c)
ERROR   Thread-5/XMLFormTransformer: pass through element [group]
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group)
ERROR   Thread-5/XMLFormTransformer: unknown element [group]
DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN startTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, 
attr=org.xml.sax.helpers.AttributesImpl@7c468e)
ERROR   Thread-5/XMLFormTransformer: pass through element [group]
DEBUG   Thread-5/XMLFormTransformer: END startTransformingElement
DEBUG   Thread-5/XMLFormTransformer: BEGIN endTransformingElement 
uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group)
ERROR   Thread-5/XMLFormTransformer: unknown element [group]
DEBUG   Thread-5/XMLFormTransformer: END endTransformingElement
etc...



My view page is:

<?xml version="1.0" ?>

<document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002";>
  <xf:form id="search-workstation" view="searchworkstation_result" 
action="searchworkstation.html">
    <xf:caption>Result</xf:caption>    
   
    <xf:repeat nodeset="result">
      <xf:output ref=".">
      </xf:output>
    </xf:repeat>   
    
    <xf:submit id="searchworkstation_next" class="button">
      <xf:caption>Next</xf:caption>
      <xf:hint>Go to next page</xf:hint>
    </xf:submit>

  </xf:form>
</document>


If anyone could help me?

Thank you very much
Sylvain

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to