Re: [xsl] Illegal xml chars

Subject: Re: [xsl] Illegal xml chars
From: B Tommie Usdin <btusdin@xxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2007 12:18:29 -0500
At 11:24 AM -0500 12/13/07, Waqar Ali wrote:
No matter what I do parser does not like this character and I have no option but to somehow take it out from the xml.

I would caution you to find out what the person/system that created the file (I'm sorry, I can't call it XML; it isn't) intended that character to mean. It this was intended to be meaningful, don't just remove it; replace it with an XML-legal way to express what the person/system creating the data wanted to express.

While it is possible that these are meaningless characters and can simply be removed it is, in my opinion, very bad practice to assume that anything you have problems with is meaningless and to simply throw it away.

-- Tommie

B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in XML and SGML

Current Thread