I've been trying to get XIndice embedded to work in Cocoon. It works in my test cases, but fails in Cocoon.

I've tracked down my problem to the version of Xerces in Cocoon: Xerces 2.6. Removing the jar from my classpath and using the JDK1.4 one fixes it.

2.6 gives this error:

Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

at org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java:354)

at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073)

at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:130)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xindice.client.xmldb.resources.XMLResourceImpl.getContentAsSAX(XMLResourceImpl.java:413)

at com.tuneballoon.query.Query.query(Query.java:189)


Don't know where to go from here. But at least it now works.


Upayavira




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to