You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alex Romayev <ro...@yahoo.com> on 2002/08/07 13:05:34 UTC

ERROR: stylesheet requires attribute: version

cocoon 2.0.3
Hi, I'm getting the following error trying to trasform
a stylesheet:

ERROR   (2002-08-07) 12:00.25:991  
[core.xslt-processor]
(/cocoon/romayev/content/coordinates-summary)
HttpProcessor[8080][4]/TraxErrorHandler: Error in
TraxTransformer: file:/C:/Documents and
Settings/aromay.SAPIENT/My
Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
Line 2; Column 127; 
; SystemID: file:/C:/Documents and
Settings/aromay.SAPIENT/My
Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
Line#: 2; Column#: 127
javax.xml.transform.TransformerException: stylesheet
requires attribute: version

My stylesheet does have a version:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/transform"
xmlns:i18n="http://apache.org/cocoon/i18n/2.0">
...
</xsl:stylesheet>

Any ideas?

Thanks,
-Alex

---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: ERROR: stylesheet requires attribute: version

Posted by Alex Romayev <ro...@yahoo.com>.
Thanks.

--- KOZLOV Roman <r-...@opencascade.com> wrote:
> Hi, try
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
> (capital "T" in  "Transform" word).
> 
> Roman
> 
> Alex Romayev wrote:
> 
> > cocoon 2.0.3
> > Hi, I'm getting the following error trying to
> trasform
> > a stylesheet:
> >
> > ERROR   (2002-08-07) 12:00.25:991
> > [core.xslt-processor]
> > (/cocoon/romayev/content/coordinates-summary)
> > HttpProcessor[8080][4]/TraxErrorHandler: Error in
> > TraxTransformer: file:/C:/Documents and
> > Settings/aromay.SAPIENT/My
> >
>
Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
> > Line 2; Column 127;
> > ; SystemID: file:/C:/Documents and
> > Settings/aromay.SAPIENT/My
> >
>
Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
> > Line#: 2; Column#: 127
> > javax.xml.transform.TransformerException:
> stylesheet
> > requires attribute: version
> >
> > My stylesheet does have a version:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <xsl:stylesheet version="1.0"
> > xmlns:xsl="http://www.w3.org/1999/XSL/transform"
> > xmlns:i18n="http://apache.org/cocoon/i18n/2.0">
> > ...
> > </xsl:stylesheet>
> >
> > Any ideas?
> >
> > Thanks,
> > -Alex
> >
> >
>
---------------------------------------------------------------------
> > 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:    
> <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/faq/index.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/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: ERROR: stylesheet requires attribute: version

Posted by KOZLOV Roman <r-...@opencascade.com>.
Hi, try xmlns:xsl="http://www.w3.org/1999/XSL/Transform"   (capital "T" in  "Transform" word).

Roman

Alex Romayev wrote:

> cocoon 2.0.3
> Hi, I'm getting the following error trying to trasform
> a stylesheet:
>
> ERROR   (2002-08-07) 12:00.25:991
> [core.xslt-processor]
> (/cocoon/romayev/content/coordinates-summary)
> HttpProcessor[8080][4]/TraxErrorHandler: Error in
> TraxTransformer: file:/C:/Documents and
> Settings/aromay.SAPIENT/My
> Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
> Line 2; Column 127;
> ; SystemID: file:/C:/Documents and
> Settings/aromay.SAPIENT/My
> Documents/Projects/tomcat/jakarta-tomcat-4.0.4/webapps/cocoon/romayev/stylesheets/coordinates-summary.xsl;
> Line#: 2; Column#: 127
> javax.xml.transform.TransformerException: stylesheet
> requires attribute: version
>
> My stylesheet does have a version:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/transform"
> xmlns:i18n="http://apache.org/cocoon/i18n/2.0">
> ...
> </xsl:stylesheet>
>
> Any ideas?
>
> Thanks,
> -Alex
>
> ---------------------------------------------------------------------
> 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:     <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/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>