• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DOM Level 3 and JavaXML.Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOM Level 3 and JavaXML.Framework


  • Subject: Re: DOM Level 3 and JavaXML.Framework
  • From: Helmut Schottmüller <email@hidden>
  • Date: Fri, 16 Mar 2007 09:39:41 +0100

Hi Daniele,

Am 16.03.2007 um 09:29 schrieb Daniele Corti:



2007/3/15, Helmut Schottmüller <email@hidden>:
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >DOM Level 3 and JavaXML.Framework (From: Helmut Schottmüller <email@hidden>)
 >Re: DOM Level 3 and JavaXML.Framework (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: How to use NSTimeZone to select the date/time display to use [OT]
  • Next by Date: Re: Groovy + webobjects
  • Previous by thread: Re: DOM Level 3 and JavaXML.Framework
  • Next by thread: Display Group Component Editing Issue
  • Index(es):
    • Date
    • Thread