Title: Started getting this exception after JDK 1.4 upgrade?
Ok, I really fixed it now. When I set the boot classpath And the properties for loading the correct factory classes it works again.
 
Sorry for the high noise to signal ratio...
 
Does anyone else think Sun is packing too much stuff into the defaul run-time?
 
-Chris.
-----Original Message-----
From: Christopher Raber [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 15, 2001 11:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Started getting this exception after JDK 1.4 upgrade?

I spoke to soon. Even after putting Xalan/Xerces on the bootclasspath first and setting:
javax.xml.transform.TransformerFactory
org.apache.xalan.processor.TransformerFactoryImpl

If you are using Xerces, the XML parser factory settings are as follows:

System property
Setting
javax.xml.parsers.DocumentBuilderFactory
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
javax.xml.parsers.SAXParserFactory
org.apache.xerces.jaxp.SAXParserFactoryImpl
I am still ending up with the crimson parser!
 
Apparently Sun's jaxp implementation isn't loading fatories based on these properties?
 
-Chris.
-----Original Message-----
From: Christopher Raber [mailto:[EMAIL PROTECTED]
Sent: Friday, December 14, 2001 6:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Started getting this exception after JDK 1.4 upgrade?

 
Thanks Joseph...
 
-Chris.
-----Original Message-----
From: Christopher Raber [mailto:[EMAIL PROTECTED]
Sent: Friday, December 14, 2001 5:12 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Started getting this exception after JDK 1.4 upgrade?

So then I turned off my custom entity resolver and I am getting: org.xml.sax.SAXParseException: Reference to undefined entity " ".
 
D'oh! This all worked before JDK 1.4 beta upgrade.
-----Original Message-----
From: Christopher Raber [mailto:[EMAIL PROTECTED]
Sent: Friday, December 14, 2001 4:41 PM
To: '[EMAIL PROTECTED]'
Subject: Started getting this exception after JDK 1.4 upgrade?

Or maybe it's being caused by something else, but I just started getting errors like this:

org.xml.sax.SAXParseException: Relative URI "xhtml-lat1.ent"; can not be resolved without a base URI.

I am using xalan-j_2_1_0 and the xerces bundled with it.

Reply via email to