Members of the Forum - does anyone else have experience processing XML using the "sax" add-on? I recently discovered that a tag like this:
<LegalName>JPMorgan Chase & Co.</LegalName> gives me the value " Co." instead of the full name "JPMorgan Chase & Co.". The problem seems to be the ampersand character in "&". If I replace this string by "&", "&", or "&ersand;", I get assertion errors "not well-formed (invalid token)" for the first two cases and "undefined entity" for the third. Replacing it with "amp;" gives no error and I get the full name "JPMorgan Chase amp; Co.". Has anyone else encountered this? Do either of the other two XML add-ons handle this better? Does anyone know if either of the other two add-ons is better than sax? Thanks, Devon -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
