XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Invalid character in XML file

On Jan 2, 2008 12:06 AM, Carlos Narváez <crakup@gmail.com> 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@datadirect.com
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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS