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

Re: Invalid character in XML file

  • From: "Tony Lavinio" <alavinio@g...>
  • To: "Carlos Narváez" <crakup@g...>
  • Date: Wed, 2 Jan 2008 08:19:58 -0500

Re:  Invalid character in XML file
On Jan 2, 2008 12:06 AM, Carlos Narváez <crakup@g...> wrote:
> Hi,
>
> I have been supplied xml data that will not validate because it
> contains an invalid character.
>
> I need to write a script to replace this character, but I am unable to
> see what the character is.

In current versions of Stylus Studio, placing the cursor over the character
in question shows its Unicode value in the lower-right corner of the display.

Also, if the character is not a valid XML character, upon loading the
document you will be prompted as to how that errant character should
be handled.

If you need more information, we offer free support to all users of Stylus
Studio, including those using evaluation copies, at
http://www.stylusstudio.com/SSDN/
That would likely be a better place to ask a product-specific question
than xml-dev.

> I've tried several editors and also tried encoding the xml file with
> all diiferent character sets, but still can't get it to display.
>
> Textpad shows it as a thick pipe.
>
> Frontpage will only load the document up to the character.
>
> Stylusstudio shows it as a square box.
>
> Anybody know a way to find out what this character is, or a way of
> removing invalid characters from an xml document?

-- 
Tony Lavinio       DataDirect Technologies       alavinio@d...
High-performance XML Processor: DataDirect XQuery http://www.xquery.com/
EDI/Flat File<->XML Converters (Java|.Net) http://www.xmlconverters.com/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.