1.

How Do I Avoid The Dom Level 1 Problem In Visual Age For Java?

Answer»

When the WTE feature is added to the workspace, the project 'IBM XML Parser for JAVA' is added as well. This project CONTAINS old DOM Level 1 'org.w3c.*' interfaces. JDOM relies on DOM Level 2, and therefore conflicts with this project.

The solution is to do the following:

  1. Change workspace owner to ADMINISTRATOR
  2. Create open edition of the project 'IBM XML Parser for Java'
  3. Delete all the packages that contain org.w3c.* interfaces
  4. Version the project.
  5. Create a new Project for DOM Level 2 parser such as Xerces
  6. IMPORT all Xerces classes including org.w3c.* interfaces (you can use a completely different project for those interfaces if you want to work with other PARSERS)
  7. Version the Xerces project
  8. Create a JDOM project and import jdom classes into it. Version the project.

When the WTE feature is added to the workspace, the project 'IBM XML Parser for Java' is added as well. This project contains old DOM Level 1 'org.w3c.*' interfaces. JDOM relies on DOM Level 2, and therefore conflicts with this project.

The solution is to do the following:



Discussion

No Comment Found