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)
-> + DB to XML convertion (6)
-> + Converting: How to handle data... (2)
-> + Toss Character Exception (2)
-> + EDI conversion COM segment (5)
-> - SS passing invalid CALS table ... (1)
-> + Carrier Related EDI SAP questi... (2)
-> + How to generate 1 output XML f... (2)
-> + Urgent Eval: How2 w/ Possibly ... (4)
-> + Preview Problems (7)
-> + Mapping to EDIFACT ORDERS UNT0... (8)
-> + Deploying Conversion XML to ED... (2)
-> + Use EDI Adapter within Sap BC (3)
-> + Uninstall->instal entepr. 2007 (2)
-> - xml data to sql 2000 table (1)
-> - Convert from Oracle DB to XML ... (1)
-> + NTFShardlink broken (5)
-> + Can't get catalog to work (3)
-> + Only One of each EDI segment g... (3)
-> + convert (2)
-> + convert (4)
-- Previous [1861-1880] [1881-1900] [1901-1920] 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
ad van der endeSubject: xsd:import's with escaped charcaters in url.
Author: ad van der ende
Date: 04 Dec 2006 03:24 AM
Originally Posted: 29 Nov 2006 10:29 AM
Hi,

When escaping characters in schemalocations the validation of stylus fails, because it cannot read the import file.


try : Where "imported%255Elocal.xsd" is actually saved with the escaped characters

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<!--<import namespace="http://www.test.com" schemaLocation="imported^local.xsd"/>-->
<xsd:import namespace="http://www.test.com" schemaLocation="imported%255Elocal.xsd"/>
</xsd:schema>

Kind regards ad vand er ende

Postnext
ad van der endeSubject: xsd:import's with escaped charcaters in url.
Author: ad van der ende
Date: 06 Dec 2006 03:33 PM
Hallo,

Am I excommunicated?

Postnext
Ivan PedruzziSubject: xsd:import's with escaped charcaters in url.
Author: Ivan Pedruzzi
Date: 06 Dec 2006 08:59 PM
Adam,

Are you running the latest Stylus Studio 2007 version?
If not could you please donwload it and try?


Thank you for your help.
Ivan Pedruzzi
Stylus Studio Team

Postnext
ad van der endeSubject: xsd:import's with escaped charcaters in url.
Author: ad van der ende
Date: 07 Dec 2006 04:01 AM
Hallo,

Yes, I have the latest version.

Do you know of such an issue?

Kind regards

Postnext
Ivan PedruzziSubject: xsd:import's with escaped charcaters in url.
Author: Ivan Pedruzzi
Date: 07 Dec 2006 11:07 PM

The attached example seems to work fine.

Ivan Pedruzzi
Stylus Studio Team


Document5E.zip

Postnext
ad van der endeSubject: xsd:import's with escaped charcaters in url.
Author: ad van der ende
Date: 08 Dec 2006 03:54 AM
Hi,

But the name of the path is not with the escaped characters. You named the directory with the non-escaped character.
When you name the path as "a%5Ea/A.xsd" it will not be valided.
Do not translate the %5E to a ^.


Kind regards
ad vand er ende

Postnext
Ivan PedruzziSubject: xsd:import's with escaped charcaters in url.
Author: Ivan Pedruzzi
Date: 08 Dec 2006 09:49 AM
I am not sure I follow you.

In the example posted there are 3 files

main.xml
main.xsd
a^a\A.xsd

The content of main.xsd is the following

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="a%5Ea/A.xsd"/>
<xsd:element name="B" type="A"/>
</xsd:schema>

If I validate main.xml that points to main.xsd that includes a%5Ea/A.xsd, the validation succeeded.

What do you do differently?


Ivan Pedruzzi
Stylus Studio Team

Posttop
Adriaan VanderendeSubject: xsd:import's with escaped charcaters in url.
Author: Adriaan Vanderende
Date: 09 Dec 2006 02:25 AM
Originally Posted: 09 Dec 2006 02:23 AM
Hi,

You named the directory on disk with the real ^ character.
When you name the directory on disk exactly, literally, with "%5e", validation will fail.

Kind regards
ad van der ende

   
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.