cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Studley <Luke.Stud...@cerillion.com>
Subject Saxon Integration (Newbie)
Date Tue, 04 Dec 2001 14:52:29 GMT
Hi all
 
I've just started using C2 and am having some difficulties getting saxon
(6.5) to work. I have a simple XML page and a single stylesheet, I have this
working with the default Xalan processor - but when I plug in Saxon (by
placing it in the WEB-INF/lib directory and declaring it in the
cocoon.xconf) I get the following errors (and lots of others like it) in
components.log.
 
Does anybody know of any incompatibilities with the built in stylesheets and
saxon 6.5.? Or what else I may be doing wrong?
Thanks
Luke
 
 
ERROR   (2001-12-04) 14:47.35:960   [root.xsl] (/webcare/web/overview.html)
HttpProcessor[8080][4]/TraxErrorHandler: Error in TraxTransformer:
jar:file:/C:/Installations/jakarta-tomcat-4.0.1/webapps/webcare/WEB-INF/lib/
cocoon-2.0.jar!/org/apache/cocoon/components/language/markup/sitemap/java/si
temap.xsl; Line 17; Column -1; 
; SystemID:
jar:file:/C:/Installations/jakarta-tomcat-4.0.1/webapps/webcare/WEB-INF/lib/
cocoon-2.0.jar!/org/apache/cocoon/components/language/markup/sitemap/java/si
temap.xsl; Line#: 17; Column#: -1
javax.xml.transform.TransformerConfigurationException: Attribute xmlns:xsl
is not allowed on this element
      at
com.icl.saxon.style.StyleElement.compileError(StyleElement.java:846)
      at
com.icl.saxon.style.StyleElement.checkUnknownAttribute(StyleElement.java:208
)
      at
com.icl.saxon.style.XSLStyleSheet.prepareAttributes(XSLStyleSheet.java:287)
      at
com.icl.saxon.style.XSLStyleSheet.processAllAttributes(XSLStyleSheet.java:50
1)
      at
com.icl.saxon.style.XSLStyleSheet.preprocess(XSLStyleSheet.java:351)
      at
com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(PreparedStyleSheet.ja
va:176)
      at
com.icl.saxon.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:70
)
      at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:190)
      at
org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandle
r(Logicsheet.java:144)
      at
org.apache.cocoon.components.language.markup.Logicsheet.getNamespaces(Logics
heet.java:126)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic
sheetToList(AbstractMarkupLanguage.java:350)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage$Transfor
merChainBuilderFilter.startElement(AbstractMarkupLanguage.java:510)
      at
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage$S
itemapTransformerChainBuilderFilter.startElement(SitemapMarkupLanguage.java:
368)
      at
org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:575)
      at
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage$P
reProcessFilter.startElement(SitemapMarkupLanguage.java:211)
      at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
      at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
      at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1171)
      at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
      at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
      at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
      at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
      at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:130)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:275)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:309)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:221)
      at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
      at java.lang.Thread.run(Thread.java:484)
ERROR   (2001-12-04) 14:47.35:960   [root.xsl] (/webcare/web/overview.html)
HttpProcessor[8080][4]/TraxErrorHandler: Error in TraxTransformer:
jar:file:/C:/Installations/jakarta-tomcat-4.0.1/webapps/webcare/WEB-INF/lib/
cocoon-2.0.jar!/org/apache/cocoon/components/language/markup/sitemap/java/si
temap.xsl; Line 17; Column -1; 
; SystemID:
jar:file:/C:/Installations/jakarta-tomcat-4.0.1/webapps/webcare/WEB-INF/lib/
cocoon-2.0.jar!/org/apache/cocoon/components/language/markup/sitemap/java/si
temap.xsl; Line#: 17; Column#: -1
javax.xml.transform.TransformerConfigurationException: Attribute xmlns:map
is not allowed on this element
      at
com.icl.saxon.style.StyleElement.compileError(StyleElement.java:846)
      at
com.icl.saxon.style.StyleElement.checkUnknownAttribute(StyleElement.java:208
)
      at
com.icl.saxon.style.XSLStyleSheet.prepareAttributes(XSLStyleSheet.java:287)
      at
com.icl.saxon.style.XSLStyleSheet.processAllAttributes(XSLStyleSheet.java:50
1)
      at
com.icl.saxon.style.XSLStyleSheet.preprocess(XSLStyleSheet.java:351)
      at
com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(PreparedStyleSheet.ja
va:176)
      at
com.icl.saxon.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:70
)
      at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:190)
      at
org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandle
r(Logicsheet.java:144)
      at
org.apache.cocoon.components.language.markup.Logicsheet.getNamespaces(Logics
heet.java:126)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic
sheetToList(AbstractMarkupLanguage.java:350)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage$Transfor
merChainBuilderFilter.startElement(AbstractMarkupLanguage.java:510)
      at
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage$S
itemapTransformerChainBuilderFilter.startElement(SitemapMarkupLanguage.java:
368)
      at
org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:575)
      at
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage$P
reProcessFilter.startElement(SitemapMarkupLanguage.java:211)
      at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
      at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
      at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1171)
      at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
      at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
      at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
      at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
      at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:130)
      at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:275)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:309)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
      at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:221)
      at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
      at java.lang.Thread.run(Thread.java:484)
 
 
 
Luke 
 
 

Mime
View raw message