I got another one. Probably a Xerces version problem. No good idea for
both problems, I'm afraid.
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.xerces.dom.CoreDocumentImpl.checkDOMNSErr(Unknown Source)
at org.apache.xerces.dom.AttrNSImpl.setName(Unknown Source)
at org.apache.xerces.dom.AttrNSImpl.<init>(Unknown Source)
at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(Unknown Source)
at org.apache.xerces.dom.ElementImpl.setAttributeNS(Unknown Source)
at org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java:339)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
On 07.02.2004 23:56:40 J.Pietschmann wrote:
> Hi all,
> I get a nice Junit failure:
> Testcase: testFO2PDFWithDOM took 0.23 sec
> Caused an ERROR
> loader constraints violated when linking org/w3c/dom/Node class
> java.lang.LinkageError: loader constraints violated when linking
> org/w3c/dom/Node class
> at org.apache.xalan.transformer.TransformerIdentityImpl.
> createResultContentHandler(TransformerIdentityImpl.java:186)
> at org.apache.xalan.transformer.TransformerIdentityImpl.
> transform(TransformerIdentityImpl.java:296)
> at org.apache.fop.BasicDriverTestCase.
> loadDocument(BasicDriverTestCase.java:133)
> at org.apache.fop.BasicDriverTestCase.
> testFO2PDFWithDOM(BasicDriverTestCase.java:149)
>
> This seems to have something to do mixing Jars form the JDK and
> fop/lib. Does anybody have an idea how this can be avoided?
Jeremias Maerki