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

Re: 0x19 is not a legal XML character

Subject: Re: 0x19 is not a legal XML character
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 28 Jun 2007 11:56:56 +0200
Re:  0x19 is not a legal XML character
This is an XML question. Try http://www.ibiblio.org/xml/mailinglists.html and pick the mailing list that best suits your needs.

Because XML is related to XSLT, I'll answer it (hope Tommy does not mind ;).

The parser is correct, 0x19 is not a valid character. The message says that, after translation from the used encoding, the character U+0019 is not allowed inside XML. This is not true for XML 1.1, which does allow such characters. The character U+0019 means "End of Medium" and is a control character sometimes used to (incorrectly?) designate the end of a file.

In other words: your XML files do not contain legal well-formed XML and, as such, are not XML at all. It has nothing to do with your diacritics problems, it is just incorrect at the source and should be fixed there.

Hope this helps,
-- Abel Braaksma

Vaduvoiu Tiberiu wrote:
I know this is not a xsl specific problem but I was hoping someone knows the answer. I am using a repository on apache tomcat. I have a lot of xmls that have content with h` (italian french or other country specific characters). When I try to display these xmls on my site on catalina.out I get this error:

org.jdom.IllegalDataException: The data "

.....block of text...

" is not legal for a JDOM character content: 0x19 is not a legal XML character.
 at org.jdom.Text.setText(Text.java:188)
 at org.jdom.Text.<init>(Text.java:99)
....................

Is there anythign I can do about this? there has to be a way to be able to display other characters in my site. 10x


____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

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.