[jdom-interest] Entity value lookup based on name?

Gordon Tyler gordon.tyler at sitraka.com
Wed Feb 26 09:48:23 PST 2003


Jason Long wrote:
> Maybe what I am trying to do is weird.  My problem is that I am getting data
> from a legacy system that has no unique identifier for items in an
> inventory.  Their uniqueness is determined by a combination of 8 fields.
> The client generates this data and upload it where I use jdom to group like
> items, calculate totals,...  Some of the fields are abbreviations that need
> to be expanded for display.  When I process the file I am adding these

I've read a number of your messages about this problem and I really 
think Entities are _not_ the solution. You're trying hammer a screw with 
jigsaw... it's not going to work without a lot of blood and missing fingers.

The simplest solution is to have a separate process that expands the 
abbreviation in the attribute into the full text based on some mapping 
file. You're not going get this to magically happen through JDOM, it's 
going to have to be a manual process.

Ciao,
Gordon

-- 
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"




More information about the jdom-interest mailing list