No it was not that I think the problem is the stylesheet element not
in the xml preprocess instraction.
Anyway thanx for the tip I removed the spaces!
-----Original Message-----
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thu, June 28, 2001 6:29 PM
To: [EMAIL PROTECTED]
Subject: RE: ERROR 36201 failed to see the "version" attribute.
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:[EMAIL PROTECTED]]
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>