Hi Daniele,

Am 16.03.2007 um 09:29 schrieb Daniele Corti:



2007/3/15, Helmut Schottmüller <[EMAIL PROTECTED]>:
Dear list,

I'm trying to use DOM Level 3 in my WO classes (especially
Element.setIdAttribute) but the JavaXML.Framework which is used by WO
contains the old DOM Level 2 implementation of org.w3c.dom and it is
always prior to the Java 1.5 Framework in the build path... Moving
the Java 1.5 Framework to the top does not work when I want to deploy
my application because I get an error message that the ERExentsions
Framework has to be the first one in the build path...

I know this: open the ant.framework.wo.wolocalroot (this was in my app, in your it can be another file of woproject package) and chenge the order in which the ERExtensions is charged, and make it as first.


yeah, that's a good idea and that's what I did to solve it. I created an own framework containing the actual org.w3c.dom implementation and put it on top of the build path.

Is there any trick to get DOM Level 3 at the first place into the
build path? Something like the common/endorsed directory in Tomcat?

I guess there is no newer version of JavaXML.Framework which contains
DOM Level 3 support...

I don't know, but if you use the lastest version of java, I think there is the implementation of DOM level 3... you should try to check the versions in the jaxp page https://java.sun.com/ webservices/jaxp/index.jsp


That's the stupid thing. DOM Level 3 is already supported since Java 1.5 but the JavaXML Framework which comes with WebObjects uses the old DOM implementation of Java 1.4 and due to the necessity to add the ERXExtensions (which means in fact the complete WO Framework) in the build path before the Java Framework, you have the situation that DOM Level 3 is not accessible... But with a self made framework containing DOM Level 3 in the first place it works fine.

Thanks for you help,

Helmut


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to