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
Urs KeiserSubject: 'import module ..' line disappears in XQuery Editor
Author: Urs Keiser
Date: 09 Jun 2006 03:06 AM
Originally Posted: 09 Jun 2006 03:02 AM
Hello,

I use 'libraries' in xqueries. Therefore I put an import module line at the top of my xquery file:

import module namespace lib = "http://com.foo/library" at "./LIB.xquery";

This works fine.

However there is a problem with Stylus Studio XML Professional Edition 2006 Release 2(Build 591d) XQuery Editor:
Whenever I use the mapper, i.e. I draw a new line or I edit ('set text value') an element in the target document the 'import module ...' line is removed from the xquery document.

Is this a bug or do I need to configure Stylus Studio somewhere?

I have also a wish for improvement in Stylus Studio XQuery Editor:

When using such 'library' functions, the functions of these imported libraries are not visible in the 'user defined functions' popup menu of the mapper. Therefore it is not possible to use them with the mapper, and they must be included manually in the xquery source text, which works fine. It would be more efficient to see them also in the popup menus 'user defined functions'.

Thanks for your help
Urs

Postnext
Minollo I.Subject: 'import module ..' line disappears in XQuery Editor
Author: Minollo I.
Date: 09 Jun 2006 03:00 PM
What you are experiencing is a bug in the current 2006 Release 2 version; this issue will still be present in the coming 2006 Release 3 next week, but it will be corrected in a maintenance package in the coming weeks.

About your suggestion for improvement, we agree on that, and it will soon be part of the Stylus Studio functionality.

Thanks.

Posttop
Urs KeiserSubject: 'import module ..' line disappears in XQuery Editor
Author: Urs Keiser
Date: 12 Jun 2006 01:45 AM
Hi Minollo,

Thanks for your answer.
Urs

 
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.