Solved

XML translation

Posted on 2004-08-12
6
205 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
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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse formatting 6 87
arguments to jar 5 26
hibernate example issues from command prompt 10 40
login form jsp example 2 24
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

786 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