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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Help with XSL to transform two... (4)
-> + connect to xhive (2)
-> - element id and name attributes... (1)
-> - http://www.w3.org/2001/XMLSche... (1)
-> + Error message when converting ... (2)
-> + XML id and anyuri datatype (2)
-> - import xml into an ms acces... (1)
-> - Change version (6)
-> ->Change version
-> ->Change version
-> ->Change version
-> ->Change version
-> ->Change version
-> + Translate two files into one (3)
-> + invalid relative uri with data... (7)
-> + My table crashes java Runtime (5)
-> + inx to pdf (3)
-> + XSD - multiple similar namespa... (7)
-> + validating many xml files (4)
-> + Stylesheet Parameters (3)
-> + create web service using Stylu... (2)
-> + connect with sql server (4)
-> + License could not be validated... (2)
-> + How to open (or decompress) a ... (3)
-> + Stylus Studio 2009 Home & Java (4)
-- Previous [841-860] [861-880] [881-900] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.