xsl-list
[Top] [All Lists]

Re: [xsl] Illegal xml chars

2007-12-13 10:19:08
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(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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
======================================================================

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>