xml-xsp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saul Rodrigo Zarrate Cárdenas <s-zar...@uniandes.edu.co>
Subject Problem with tag form in a xslt
Date Fri, 15 Nov 2002 14:30:19 GMT
Hello

I have a stylesheet where I want to make a html transformation

In that page I have the next

  <xsl:template match="form">
    <form name="form1" method="post" action="">
      <select name="selectCodigo" size="8" multiple>
      <option>Data 1</option>
       .
       .
      <option>Data N</option>
    </select>
    </form>
  </xsl:template>

How you can see, I am using the html tag form, in that tag I have the tag 
SELECT.

When I load the page (the name of the page is borradoDeOpciones.xsp), and the 
transformation is doing (Without the transformation I don't have any problem.  
More especif, I can do the transformation wihout the form tag, and I don't 
have problems) I have the next problem


Cocoon 2 - Internal server error

-------------------------------------------------------------------------------
-

type fatal

message Attribute name "SELECT" must be followed by the ' = ' character.

description org.apache.cocoon.ProcessingException: Exception in creating 
Transform Handler: org.xml.sax.SAXParseException: Attribute name "SELECT" must 
be followed by the ' = ' character.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Exception in creating Transform 
Handler: org.xml.sax.SAXParseException: Attribute name "SELECT" must be 
followed by the ' = ' character.
	at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:289)
	at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:239)
	at org.apache.cocoon.transformation.TraxTransformer.setup
(TraxTransformer.java:298)
	at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:215)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup
(CachingEventPipeline.java:278)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey
(CachingEventPipeline.java:141)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:317)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100B2
(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1019)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:472)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:385)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at org.apache.cocoon.www.sitemap_xmap.matchN1036A(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:4054)
	at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3187)
	at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3124)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at org.apache.cocoon.sitemap.SitemapManager.process
(SitemapManager.java:154)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
	at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:999)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2344)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:462)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1011)
	at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1106)
	at java.lang.Thread.run(Thread.java:536)
Caused by: org.xml.sax.SAXParseException: Attribute name "SELECT" must be 
followed by the ' = ' character.
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1171)
	at org.apache.xalan.processor.ProcessorInclude.parse
(ProcessorInclude.java:314)
	at org.apache.xalan.processor.ProcessorInclude.startElement
(ProcessorInclude.java:192)
	at org.apache.xalan.processor.StylesheetHandler.startElement
(StylesheetHandler.java:658)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:445)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:216)
	at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:829)
	at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement
(XMLNamespaceBinder.java:590)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement
(XMLDTDValidator.java:829)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:748)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
	at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:525)
	at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1157)
	at org.apache.avalon.excalibur.xml.JaxpParser.parse
(JaxpParser.java:269)
	at org.apache.avalon.excalibur.xml.JaxpParser.parse
(JaxpParser.java:226)
	at org.apache.cocoon.components.source.AbstractStreamSource.toSAX
(AbstractStreamSource.java:206)
	at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:268)
	... 50 more
org.xml.sax.SAXParseException: Attribute name "SELECT" must be followed by 
the ' = ' character.
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1171)
	at org.apache.xalan.processor.ProcessorInclude.parse
(ProcessorInclude.java:314)
	at org.apache.xalan.processor.ProcessorInclude.startElement
(ProcessorInclude.java:192)
	at org.apache.xalan.processor.StylesheetHandler.startElement
(StylesheetHandler.java:658)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:445)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:216)
	at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:829)
	at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement
(XMLNamespaceBinder.java:590)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement
(XMLDTDValidator.java:829)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:748)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
	at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:525)
	at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1157)
	at org.apache.avalon.excalibur.xml.JaxpParser.parse
(JaxpParser.java:269)
	at org.apache.avalon.excalibur.xml.JaxpParser.parse
(JaxpParser.java:226)
	at org.apache.cocoon.components.source.AbstractStreamSource.toSAX
(AbstractStreamSource.java:206)
	at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:268)
	at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:239)
	at org.apache.cocoon.transformation.TraxTransformer.setup
(TraxTransformer.java:298)
	at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:215)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup
(CachingEventPipeline.java:278)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey
(CachingEventPipeline.java:141)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:317)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100B2
(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1019)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:472)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:385)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at org.apache.cocoon.www.sitemap_xmap.matchN1036A(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:4054)
	at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3187)
	at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3124)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at org.apache.cocoon.sitemap.SitemapManager.process
(SitemapManager.java:154)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
	at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:999)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2344)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:462)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1011)
	at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1106)
	at java.lang.Thread.run(Thread.java:536)


request-uri

/cocoon/SGCWebXML/moduloDeSeguridad/borradoDeOpciones.xsp

path-info

SGCWebXML/moduloDeSeguridad/borradoDeOpciones.xsp


-------------------------------------------------------------------------------
-



I think the problem is, the select tag for html is a atribbute in the xsl name 
space.  Can Anybody help me please?


Saul Zarrate Cardenas



Mime
View raw message