You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Apostolou, Kostantinos" <Ko...@icomverse.com> on 2001/06/28 16:58:43 UTC
ERROR 36201 failed to see the "version" attribute.
Hi from the log file I get this....
DEBUG 34627 [cocoon ] (Thread-10): Holding object in memory. Key:
jar:file:/usr/local/Cocoon-2.0b1/build/cocoon/cocoon.jar!/org
/apache/cocoon/components/language/markup/xsp/java/log.xsl
DEBUG 35354 [cocoon ] (Thread-10): Holding object in memory. Key:
jar:file:/usr/local/Cocoon-2.0b1/build/cocoon/cocoon.jar!/org
/apache/cocoon/components/language/markup/xsp/java/util.xsl
DEBUG 35365 [cocoon ] (Thread-10): Making URL from
file:///home/KAposto/public_html/logicsheets/taglib.xsl
ERROR 36201 [cocoon ] (Thread-10): Error in TraxTransformer:
file:/home/KAposto/public_html/logicsheets/taglib.xsl; Line 5; Col
umn 56;
; SystemID: file:/home/KAposto/public_html/logicsheets/taglib.xsl; Line#: 5;
Column#: 56
javax.xml.transform.TransformerException: stylesheet requires attribute:
version
at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java,
Compiled Code)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(
XSLTElementProcessor.java, Compiled Code)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(
XSLTElementProcessor.java, Compiled Code)
at
org.apache.xalan.processor.ProcessorLRE.startElement(ProcessorLRE.java,
Compiled Code)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.
java, Compiled Code)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java, Compiled
Code)
my taglib (file:/home/KAposto/public_html/logicsheets/taglib.xsl) looks like
this
<?xml version = "1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/XSL/Transform"
xmlns:xsp="http://apache.org/xsp"
xmlns:wms="http://myurl.com">
<xsl:template match="xsp:page">
<xsp:page>
<xsl:apply-templates select="@*"/>
<xsp:structure>
<xsp:include>java.util.*</xsp:include>
<xsp:include>java.io.*</xsp:include>
<xsp:include>java.text.*</xsp:include>
<xsp:include>javax.mail.*</xsp:include>
<xsp:include>javax.mail.internet.*</xsp:include>
<xsp:include>javax.activation.*</xsp:include>
As you CAN SEE I HAVE the attribute version is in place.
Does anybody knows what is going wrong?
thanx in advance!
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: ERROR 36201 failed to see the "version" attribute.
Posted by Vadim Gritsenko <vg...@hns.com>.
Try replace <?xml version = "1.0"?> with <?xml version="1.0"?> (no spaces around "=").
According to http://www.w3.org/TR/2000/REC-xml-20001006#NT-VersionInfo, no spaces are allowed here.
Vadim
> -----Original Message-----
> From: Apostolou, Kostantinos [mailto:Kostantinos_Apostolou@icomverse.com]
> Sent: Thursday, June 28, 2001 10:59
> To: Cocoon-Users (E-mail)
> Subject: ERROR 36201 failed to see the "version" attribute.
>
>
> Hi from the log file I get this....
>
>
>
> DEBUG 34627 [cocoon ] (Thread-10): Holding object in memory. Key:
> jar:file:/usr/local/Cocoon-2.0b1/build/cocoon/cocoon.jar!/org
> /apache/cocoon/components/language/markup/xsp/java/log.xsl
> DEBUG 35354 [cocoon ] (Thread-10): Holding object in memory. Key:
> jar:file:/usr/local/Cocoon-2.0b1/build/cocoon/cocoon.jar!/org
> /apache/cocoon/components/language/markup/xsp/java/util.xsl
> DEBUG 35365 [cocoon ] (Thread-10): Making URL from
> file:///home/KAposto/public_html/logicsheets/taglib.xsl
> ERROR 36201 [cocoon ] (Thread-10): Error in TraxTransformer:
> file:/home/KAposto/public_html/logicsheets/taglib.xsl; Line 5; Col
> umn 56;
> ; SystemID: file:/home/KAposto/public_html/logicsheets/taglib.xsl; Line#: 5;
> Column#: 56
> javax.xml.transform.TransformerException: stylesheet requires attribute:
> version
> at
> org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java,
> Compiled Code)
> at
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(
> XSLTElementProcessor.java, Compiled Code)
> at
> org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(
> XSLTElementProcessor.java, Compiled Code)
> at
> org.apache.xalan.processor.ProcessorLRE.startElement(ProcessorLRE.java,
> Compiled Code)
> at
> org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.
> java, Compiled Code)
> at
> org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java, Compiled
> Code)
>
>
> my taglib (file:/home/KAposto/public_html/logicsheets/taglib.xsl) looks like
> this
>
> <?xml version = "1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/XSL/Transform"
> xmlns:xsp="http://apache.org/xsp"
> xmlns:wms="http://myurl.com">
> <xsl:template match="xsp:page">
> <xsp:page>
> <xsl:apply-templates select="@*"/>
> <xsp:structure>
> <xsp:include>java.util.*</xsp:include>
> <xsp:include>java.io.*</xsp:include>
> <xsp:include>java.text.*</xsp:include>
> <xsp:include>javax.mail.*</xsp:include>
>
> <xsp:include>javax.mail.internet.*</xsp:include>
>
> <xsp:include>javax.activation.*</xsp:include>
>
>
>
> As you CAN SEE I HAVE the attribute version is in place.
> Does anybody knows what is going wrong?
>
> thanx in advance!
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>