Entity (&) problem in attributes
"John A. Walsh" <[email protected]> Thu, 8 May 2003 10:43:56 -0500
| Newsgroups | gmane.comp.java.enhydra.zeus |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have an XML document that contains many ampersands (as &) in many "name" attributes. When I call the getName() method on my Zeus-generated classes the string "People associated with entertainment & sports", for instance, from the original XML document is returned as "People associated with entertainment&sports". Notice the collapsed space around the ampersand. I need to do string comparisons in my code, and this, of course, is screwing things up. I've searched through the mailing lists to see if this is a known bug, or if there is a work around, but haven't found any answers. Any help would be greatly appreciated. Thanks. John | John A. Walsh, Manager, Electronic Text Technologies | Digital Library Program / University Information Technology Services (UITS) | Indiana University, 1320 East Tenth Street, Bloomington, IN 47405 | Voice:812-855-8758 Fax:812-856-2062 <mailto:[email protected]>