You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by "Kevin A. Burton" <bu...@relativity.yi.org> on 2000/04/16 09:28:10 UTC

xerces-j errors in CVS

First off... looks like someone forgot to add a file to CVS

===================================================
Compiling 381 source files to
/space/Projects/xml-xerces/java/build/classes
/space/Projects/xml-xerces/java/build/src/org/apache/xerces/parsers/RevalidatingDOMParser.java:62:
Class org.apache.xerces.framework.XMLValidator not found in import.
import org.apache.xerces.framework.XMLValidator;
       ^
1 error
BUILD FATAL ERROR: Compile failed, messages should have been provided.

===================================================

Second.  build.xml needed a trivial update. : :)

===================================================
RCS file: /home/cvspublic/xml-xerces/java/build.xml,v
retrieving revision 1.5
diff -r1.5 build.xml
59,60c59,60
<     <property name="version" value="1.0.2"/>
<     <property name="year" value="1999"/>
---
>     <property name="version" value="1.0.3"/>
>     <property name="year" value="2000"/>
===================================================

There appears to be a bug in 1.0.2 and 1.0.3 that the latest Cocoon from
CVS tickles.  Here is my stack trace from 1.0.3:

===================================================
[Sun Apr 16 00:25:55 PDT 2000] -- NOTICE  -- DiskCache: MISS - fectching
document:
file:///tmp/JetspeedDocumentCache/http_relativity.yi.org___80_content_dynamic_portletbrowser_index.xml
java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not
found
	at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:289)
	at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:116)
	at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:123)
	at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess(XSPJavaPreprocessor.java:81)
	at
org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
	at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:366)
	at org.apache.cocoon.Engine.handle(Engine.java:299)
	at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transformContent(CocoonRenderer.java:184)
	at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transform(CocoonRenderer.java:145)
	at
org.apache.jetspeed.portal.portlets.CocoonPortlet.init(CocoonPortlet.java:163)
	at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:783)
	at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:604)
===================================================

I was going to see if this was fixed in CVS and possibly do the fix
myself but since I can't build... :)

Kevin

-- 
Kevin A Burton (burton@apache.org)
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
"For evil to win is for good men to do nothing."
Open Source -> Join the conspiracy!