Solved

XML translation

Posted on 2004-08-12
6
203 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
  • 2
  • 2
  • 2
6 Comments
 
LVL 86

Expert Comment

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

Author Comment

by:g46905
Comment Utility
I am currently using 1.4 version.

Thanks,
0
 

Author Comment

by:g46905
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 20 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
java continue statement 10 69
json example 39 108
backtracking recursion  code 19 39
Image decoding from Camera 3 41
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 connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now