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
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Dan SullivanSubject: Schema Aware Saxon
Author: Dan Sullivan
Date: 15 Dec 2006 03:47 PM
I am using Stylus Studio Enterprise 2007. I am trying to run some of the schema aware sample XQuery samples. I configured the scenario to use Saxon 8.7.3 and and checked the Settings to use the schema aware execution mode. When I run the same I get an error on the line:

import schema default element namespace "" at "videos.xsd";

saying that the import command requires the schema away version of Saxon. This is the error:

Error: on line 1 column 0 of file:///d:/MicrosoftDocsProj/xslt/Untitled1.xquery:; XQST0009: XQuery static error in #import schema default#:; To import a schema, you need the schema-aware version of Saxon;


The web site docs for the enterprise version Stylus say it includes the schema aware version of Saxon and I also checked that the saxon8sa.jar was in fact installed with the rest of Stylus.

It appears that Stylus is not using the schema aware version of Saxon even though I have checked off schema-aware execution mode in the settings. What must do to enable the schema aware Saxon processor?

Dan

Postnext
Dan SullivanSubject: Schema Aware Saxon
Author: Dan Sullivan
Date: 15 Dec 2006 04:24 PM
Originally Posted: 15 Dec 2006 03:55 PM
Some additional info about the Stylus version

Enterprise version

Build 735e



1.4.2_03-b02 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8000

Postnext
Dan SullivanSubject: Schema Aware Saxon
Author: Dan Sullivan
Date: 16 Dec 2006 01:32 PM
Some more info. WHen I run XSLT using Saxon 8.7.3 I get the following message in the output:

Warning: Found Saxon SA but without a valid license; falling back to Saxon B


So somehow the license for Saxon SA is missing, but it is supposed to be included with the Enterprise version of Stylus Studio. How do I get the appropriate license configured?

Tnx,
Dan

Postnext
Ivan PedruzziSubject: Schema Aware Saxon
Author: Ivan Pedruzzi
Date: 16 Dec 2006 10:37 PM

The problem seems to be happening only when running on Java 1.4.
Could you please try configuring Stylus Studio to use Java 1.5?


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
Dan SullivanSubject: Schema Aware Saxon
Author: Dan Sullivan
Date: 17 Dec 2006 08:34 AM
I updated to 1.6.0-b105 and it works now.

tnx,
Dan

 
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.