cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@localbar.com>
Subject Namespaces and Attributes??
Date Mon, 27 Mar 2000 11:53:41 GMT

I must admit that I am not idealogically programmed to understand the
purposes and workings of namespaces in this context, and that is perhaps
the problem.

But, I am getting an Exception (see below) from a document and a
stylesheet that was previously OK.

The beginning of the XSL looks like;
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:bpcf10="http://www.bali.io/bpcf/1.0">

and in the example I am using, there are no bpcf generated content, and
no references to it in the stylesheet either.
The result tree is HTML.

I tend to _believe_ it is related to;

     <font xsl:use-attribute-sets="copyright.text.font">

Anybody???

Niclas


Class: org.xml.sax.SAXException
Message: Raw/Local Name mismatch

org.xml.sax.SAXException: Raw/Local Name mismatch
        at
org.apache.cocoon.xml.util.NamespacesTable.resolve(NamespacesTable.java:181)

        at
org.apache.cocoon.xml.util.DocumentHandlerWrapper.startElement(DocumentHandlerWrapper.java:138)

        at
org.apache.cocoon.sitemap.LinkTranslator.startElement(LinkTranslator.java:152)

        at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1289)
        at
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:1922)

        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1212)

        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)

        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
        at
org.apache.cocoon.components.parser.XercesParser.parse(XercesParser.java:40)

        at
org.apache.cocoon.generators.FileGenerator.generate(FileGenerator.java:33)

        at
org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcessor.java:161)

        at
org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartition.java:102)




Mime
View raw message