• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML and Eclipse

 
V Bose
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an XML parser plugin for Eclipse?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe there is one out-of-the-box (my 2.1.2 has "org.apache.xerces_4.0.13" and I'm pretty sure I haven't installed it myself...). Or do you mean an editor plugin?
 
V Bose
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An editor plugin which might color code elements and let me expand nested elements
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -
Eclipse has very extensive XML support including (of course), the standard XML parsers. It's very likely that whatever it is you need to do, it's probably built-in to the standard Eclipse.
 
Bob Foster
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

A Xerces plugin ships with Eclipse now, but I believe it will be gone as of 3.0 M9. The plugin was a problem, as it was always based on an out-of-date version of Xerces and interfered with other plugins that wanted to use a specific version.

If what you're really looking for is an XML Editor that validates, please try XMLBuddy.
 
paul tran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I'm new to using Eclipse and Xerces. I am wondering if someone could tell me how to install an xerces plugin into Eclipse.

For my study, I was instructed to Eclipse Europa version 3.3.0, and xerces 1.4.4. Perhaps the version and type of eclipse is not important, but the version of xerces is, because my study course is XML focus.

So I download both Eclipse Europa (www.eclipse.org) and xerces 1.4.4 (http://archive.apache.org/dist/xml/xerces-j/), from their respective site.

How do I get Eclipse Europa to "specifically" use this xerces parser, when I want to process or validate my xml files?

I have had a look around at both xerces and eclipse website and googled too. I had results that gave too much technical details that only confused me.

I understand basic java, like knowing jar file etc, and putting certain files in certain folders etc... So I'm just after easy step by step instruction on how to connect eclipse with xerces, specifically xerces version 1.4.4.

Thank you in advance.

Regards

Paul
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul, welcome to JavaRanch.

Please don't wake the zombies - note that you've dug up a topic from 2004. It's better to open a new topic than to append your question to a five year old topic that isn't really relevant anymore.

Don't the instructions for the course explain how to set up Eclipse with that specific version of Xerces?
 
paul tran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To All

Sorry "rewaking" this thread.

Yes, I've asked this question to my lecturer. He's yet to respond.

Regards

Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic