[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: "Waqar Ali" <waqarali_pk@xxxxxxxxxxx>
Date: Thu, 13 Dec 2007 11:24:47 -0500
Re:  Illegal xml chars
Sorry.. do not want to drag this topic but setting CheckCharacters to false does not work.. Here what is written in the documentation:

"If the XmlReader is processing text data, it always checks that the XML names and text content are valid, regardless of the property setting. Setting CheckCharacters to false turns off character checking for character entity references."

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.

Thanks guys for your help.

From: Martin Honnen <Martin.Honnen@xxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Illegal xml chars
Date: Thu, 13 Dec 2007 16:44:51 +0100

David Carlisle wrote:
If you are using .NET 2.0 or later then you can use  (a character reference) in your XML 1.0 documents

That system may read the file, but the file is not XML 1.0, in that case,

That is technically correct but I just wanted to point out that the .NET XmlReader with the described setting accepts the character reference in a document declared to be XML 1.0.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

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.