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
erik augustinSubject: Change version
Author: erik augustin
Date: 04 Mar 2009 10:07 AM

Where do i change the version i have problems with special chars?

I see the text below in preview wenn i create an xml file from an csv file. I want to change the version to 1.1 I have added an xml scheme document with version 1.1 at the properties tab but no effect preview stays at version 1.0
<?xml version="1.0" ?>


Imageproblem0xb.JPG
Problem specifying XML version

Postnext
Tony LavinioSubject: Change version
Author: Tony Lavinio
Date: 04 Mar 2009 10:11 AM
First, are you sure the encoding is correct?
Second, why are you mapping a field that contains a non-text character
to XML?

Postnext
erik augustinSubject: Change version
Author: erik augustin
Date: 04 Mar 2009 10:24 AM
Originally Posted: 04 Mar 2009 10:19 AM
According to this forum problem with 0xb should be fixed with change of version. There are some umlaut characters and other special character encode in the file that shoul be put in the xml file.

I need to import this data into our logistic system.

Postnext
Tony LavinioSubject: Change version
Author: Tony Lavinio
Date: 05 Mar 2009 12:06 AM
Umlauts and other special characters aren't an issue.
But if you're expecting XML 1.1 to solve your problems because it
supports 0x0B in its character set, you'll discover that lots of
downstream XML tools don't support XML 1.1. In fact, the general
trend of the industry has been to ignore it.

Is there a possibility we could see a portion of the document
containing the 0x0B character? It would better help us to make a
recommendation as to what to do.

Postnext
erik augustinSubject: Change version
Author: erik augustin
Date: 05 Mar 2009 06:20 AM
Yes you are right i checked our downstream application does not support V1.1

The problem characters i think are VT (vertical tab characters) which should be converted to an crlf.

I need to convert an CSV(from unix /linux i think) to XML but these character give me problems.

Does studio has an option to convert these characters.

See example csv file


Unknownexample.csv
Example csv with vt

Posttop
Tony LavinioSubject: Change version
Author: Tony Lavinio
Date: 09 Mar 2009 02:47 PM
The best solution I can come up with is a filter that would wrap
the input stream, and turn the VT's into LF's. Then the converter
could look for CRLF as the line end, instead of just LF, and you'd
get to keep the embedded line ends, which is what the VTs are for.

Or, you could just drop the VTs.

It's not hard to wrap an InputStream or a Reader to do this kind
of filtering (or their equivalent .net classes). If you need some
guidance, we could help.

 
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.