[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Illegal xml chars

Subject: Re: Illegal xml chars
From: Alice Wei <ajwei@xxxxxxxxxxx>
Date: Thu, 13 Dec 2007 09:47:26 -0500
Re:  Illegal xml chars
Hi, Waqar:

Mind if I ask what is it you tried to put in your XML? As far as I know, 0x08 is not an existing character (and neither is &#x8. That is why it is giving you weird characters when you transform it. I am also surprised that it allows you to transform when you have this kind of character.

Hope this helps.

Alice

Quoting Waqar Ali <waqarali_pk@xxxxxxxxxxx>:

Hello:

I have an illegal character in my xml (0x08 or &#x8;) and when I
tries to transform it using xslt, the parser (MS .NET) gives me an
error(hexadecimal value 0x08, is an invalid character). I tried
everything: using different encoding, wrapping my xml data in CDATA
tags but nothing seems
to be working. What do you suggest?

I may end up removing the illegal chars manually using a regular
expression. Do you know one which can remove &#x8; and other illegal
chars from the xml?

Thanks,
-Waqar





Alice Wei MIS 2008 School of Library and Information Science Indiana University Bloomington

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.