XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Fairy LeeSubject: separate one record to two lines by special character 0C
Author: Fairy Lee
Date: 10 Feb 2009 12:57 PM
I have some records that are separated into two lines, so the first line is ended by 0C and the second line is ended by 0D 0A. It reports the following error when converting this ASCII file into XML:
"Can't encode 0xc in text"
What can I do for this issue?

Thanks in advance!

Postnext
Minollo I.Subject: separate one record to two lines by special character 0C
Author: Minollo I.
Date: 10 Feb 2009 03:03 PM
0xC is not a valid character for an XML document (http://www.w3.org/TR/REC-xml/#charsets); if your XML document contains a 0xC character, then that's not a well-formed XML document, and an XML parser will not be able to parse it. You will need to filter out that character before it reaches the XML parser.

Posttop
Tony LavinioSubject: separate one record to two lines by special character 0C
Author: Tony Lavinio
Date: 11 Feb 2009 11:02 AM
If you're using Custom XML Converters, either try adding it to
the "Toss Characters" property as '\f' or adding it to the "Left
Padding" or "Right Padding" properties, if it is inside some
delimiters.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.