Solved

XML translation

Posted on 2004-08-12
6
213 Views
Last Modified: 2010-03-31
I am getting a compiling error while running a XML file.

error:

unable to resolve import org.w3c.dom.*;
unable to resolve import javax.xml.parsers.*;

I understand that I am missing the packages required. I tried to download them but not sure if that is the correct one. Can someone help me with this?

Thanks,



0
Comment
Question by:g46905
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11785516
You need the right version of java (>= 1.4)
0
 

Author Comment

by:g46905
ID: 11786742
I am currently using 1.4 version.

Thanks,
0
 

Author Comment

by:g46905
ID: 11786814
I apologize. I just realised that I am using 1.3.1 version which has come as a default when I was installing WSAD 5.0. Can you please tell me where I can find the external .jar files  for this issue?

Thanks,
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 20 total points
ID: 11786860
You'd be much better off upgrading your Java installation on WSAD as you're missing out on a *lot* with 1.3
0
 
LVL 7

Accepted Solution

by:
bvanderveen earned 30 total points
ID: 11787211
But, in the event you can't /don't want to upgrade WSAD, you can download these at: http://xml.apache.org

0
 
LVL 7

Expert Comment

by:bvanderveen
ID: 11787219
I take that back - you won't the the javax.* packages, but you can download xerces from apache, which has similar functionality, and is what we used before this was put into 1.4.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question