From general-return-4777-apmail-xml-general-archive=xml.apache.org@xml.apache.org Wed Aug 15 19:08:02 2001 Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 76244 invoked by uid 500); 15 Aug 2001 19:08:02 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 76221 invoked from network); 15 Aug 2001 19:08:02 -0000 From: To: Subject: RE: Parsing failures with '&' Date: Wed, 15 Aug 2001 15:05:50 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N there may not be a short cut method as XML is already built, but one can look for suspected tags (using StringTokenizer etc) and replace "&" with "&". thanks venu -----Original Message----- From: swallace@iFulfillment.com [mailto:swallace@iFulfillment.com] Sent: Wednesday, August 15, 2001 2:46 PM To: general@xml.apache.org Subject: Parsing failures with '&' We have a situation where a client has the ampersand character in product descriptions submitted to us in XML. For a fictious example, assume M & M. The crimson parser fails with "Illegal character or entity reference syntax". Is there anyway around this problem short of writing a replacement script before sending it to the parser? Thanks in advance. Scott --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org