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 (1123)
- Stylus Studio Technical Forum (13809)
-> + Bug- Display of Redefined sche... (2)
-> + A question about processing in... (2)
-> + XML to XML Mapping (2)
-> + Web Service - Was Working, But... (3)
-> + Window Contents do not resize (8)
-> + BaseCatalog Not Adding to Proj... (3)
-> + SS Does not like # in the file... (6)
-> + Bad Context Menu Text (2)
-> + XSLT and EDI x12 (3)
-> - Batch validation (1)
-> + Visual C++ Runtime Error (3)
-> - WSDL's, XML Mappings To DB fie... (1)
-> + SS crashes when trying to save... (3)
-> + XML Pipelines (4)
-> + Handle Music Playlists in Styl... (2)
-> + Using a font in FOP (9)
-> + Automation in .NET/WebService ... (3)
-> + Convert .CSV file to XML (6)
-> + FOP Plugin does not install wi... (8)
-> + startup fault (2)
-> + xsd sequence question (5)
-> + Licence authentication failed ... (3)
-> + .NET API for the X12 To XML Ad... (6)
-> + data in tabular format (2)
-> + How to convert the xml String ... (4)
-> + SS Schema Validation misses an... (2)
-> + Problem in converting EDI file... (2)
-> + Generating image from XML and ... (2)
-> + Auto Schema builder is not cre... (3)
-> + XML/SQL update more tables (2)
-> + Default toolbar blocked (3)
-> + Stylus vs Altova Mapforce - St... (4)
-> + Problem with namespace while v... (3)
-> + Web Service Call - "unqualifie... (3)
-> + XML to SQL Server 2005 (2)
-> + XHTML with multiple schemas (2)
-> + Compare Stylus Studio with OBO... (2)
-> + Deploying java app using deplo... (3)
-> + Validating XML through Schema (3)
-> + Connecting to Informix 7.31 (2)
-> + EDI/XML question (4)
-> + X12 to XML Adapter (2)
-> + XSD conversion (2)
-> + Schema DateTime exception (2)
-> + Plug In Failure to regsiter (2)
-> + Reading EDIFACT (3)
-> - XML Playlist (1)
-> + Edit Xml In Place with Xslt vi... (5)
-> + validation error (9)
-> + Install error (2)
-> + how to get the xpath of xml el... (2)
-> + Can Stylus Studio be installed... (2)
-> + Built in XSLT Processor Too Sl... (2)
-> + Documentation (5)
-> + WSDL files (3)
-> + Generic flat file -> xml conve... (4)
-> + Stylus Studio crash after edit... (3)
-> + Does any one have a example to... (2)
-> + ComplexType Inheritance (6)
-> + Problem with starting (2)
-> + Icons (2)
-> + Using Saxon with xslt 2.0 (4)
-> + Wrong graphics size in preview... (2)
-> + TRANG and disable-abstract-ele... (5)
-> + Urgent: License Authentication... (3)
-> + Converting XML to CSV (10)
-> + conditional page body with XSL... (2)
-> + converting DTD to XSD (2)
-> + Stylus Studio doesn't appear t... (2)
-> + Embed XML-to-XML Mapping UI in... (3)
-> + Convert to XML (2)
-> + Tutorial Instructions Do Not M... (2)
-> + How can the attached file be e... (2)
-> + How to Generate xml file from ... (2)
-> + Multi-threaded Flat to XML ada... (2)
-> + XML Transformation -- Help Nee... (2)
-> + Loop in XSL (2)
-> + No error message when there sh... (2)
-> + Problems activating key in Sty... (2)
-> + sax parser (2)
-> + Hyperlink in xsl (2)
-> + Connection Timeout (5)
-> + SAX Parser error bcos of speci... (4)
-> + Running Java Code created by S... (3)
-> + Convert To XML - Sub Regions (2)
-> + create j2ee deploymeny descrip... (3)
-> + encoding (2)
-> + "SDQ format" processing (6)
-> + Base type could not be found (3)
-> + Changing default directory for... (3)
-> + XSLT Debug Call Stack doesn't ... (13)
-> + Basing XSLT on Schema (2)
-> + Xpath and the not operator (7)
-> + WSDL does not load properly (2)
-> + Stylus Studio won't run (7)
-> + XSLT Group By (2)
-> + Access problems to Tamino XML ... (2)
-> + Utilizing Stylus Studio for au... (4)
-> + Running Java file created from... (4)
-> + Showing All Validation Errors ... (6)
-- Previous [1681-1700] [1701-1720] [1721-1740] Next
+ Website Feedback (243)
+ XSLT Help and Discussion (7447)
+ XQuery Help and Discussion (1861)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Shashank RajvanshiSubject: Problem processing stylesheet with java callouts
Author: Shashank Rajvanshi
Date: 01 Jun 2001 03:37 PM

I am trying to process StyleSheets with java callout methods. But I am not sure how/where to specify the jar file path in the Stylus Studio, as it is throwing a "java.lang.NoSuchMethodError".

pls suggest,
thanx,
Shashank

Postnext
Minollo I.Subject: Re: Problem processing stylesheet with java callouts
Author: Minollo I.
Date: 01 Jun 2001 03:49 PM
At 03:42 PM 6/1/2001 -0400, stylus-studio-tech Listmanager wrote:
>From: "Shashank Rajvanshi"
>
>
>I am trying to process StyleSheets with java callout methods. But I am not
>sure how/where to specify the jar file path in the Stylus Studio, as it is
>throwing a "java.lang.NoSuchMethodError".

Take a look at the javaExtension/intdate.xsl stylesheet; it uses the
IntDate.java Java extension. The classname is used to declare the namespace
that is than used to invoke the method you want. Of course you have to
properly set the application to find the specified class (or jar). You can
either set the ClassPath environment variable, or change the settings in
the Tools|Options|JVM page.

Hope this helps,
Minollo

Postnext
T TSubject: Re: Problem processing stylesheet with java callouts
Author: T T
Date: 13 Jun 2001 09:06 PM
not sure why this does not work with SS but it works fine for IE5. I got java.classnotfound exception. Thanks.



function getName(node)
getName = node.item(0).nodeName
end function

]]>




Postnext
Minollo I.Subject: Re: Problem processing stylesheet with java callouts
Author: Minollo I.
Date: 13 Jun 2001 09:14 PM
You are getting an error because you are trying to use a VBScript extension
which is not standard XSLT, but is a Microsoft extension.
Stylus (as Xalan-J and in a way similar to what will happen in XSLT 2.0)
supports Java extensions; you are getting the error "java.classnotfound"
because Stylus Studio is trying to interpret the msxsl extension as an
invocation of a Java method.

For details about how XSLT Java extensions work in Stylus Studio, you can
read the documentation and investigate the examples.

Hope this helps,
Minollo

Postnext
Carl SjogreenSubject: RE: Problem processing stylesheet with java callouts
Author: Carl Sjogreen
Date: 14 Jun 2001 10:07 AM
If you want to use these Microsoft extensions, you can ask Stylus to use the
MSXML processor. You'll lose some of the debugging capabilities that you
have with the native Stylus processor, but you'll still be able to work in
the Stylus environment.

-Carl

> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Wednesday, June 13, 2001 9:19 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Re: Problem processing stylesheet with java callouts
>
>
> From: Carlo Innocenti
>
> You are getting an error because you are trying to use a VBScript
> extension
> which is not standard XSLT, but is a Microsoft extension.
> Stylus (as Xalan-J and in a way similar to what will happen in XSLT 2.0)
> supports Java extensions; you are getting the error "java.classnotfound"
> because Stylus Studio is trying to interpret the msxsl extension as an
> invocation of a Java method.
>
> For details about how XSLT Java extensions work in Stylus Studio, you can
> read the documentation and investigate the examples.
>
> Hope this helps,
> Minollo
>
>
>
> To reply: mailto:stylus-studio-tech.3059@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

Postnext
T TSubject: RE: Problem processing stylesheet with java callouts
Author: T T
Date: 14 Jun 2001 12:50 PM
Unfortunately, nothing helps. I changed the code to use javascript instead of vbscript as well as using MSXSL processor and it still failed. I check the sample javaextension and found that I must have a java class which I don't want to do. Is there other way to call other function?
Thanks a lot.

Here's the exact error msg I got
Exception calling Java extension:
java.lang.ClassNotFoundException: http:\\infomove.com
at CXClassLoader.findClass(CXClassLoader.java:152)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

And here's my new code


function getName(node)
{ return node.item(0).nodeName
}

]]>



Postnext
Carl SjogreenSubject: RE: Problem processing stylesheet with java callouts
Author: Carl Sjogreen
Date: 14 Jun 2001 12:59 PM
XSLT 1.0 has no support for embedded scripting of any sort -- VB or Java.
You have to use a Java class.

However, if you ask Stylus to use the Microsoft processor you should be able
to use their VBScript extensions. What was the error message you got when
using that processor?

-Carl

> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Thursday, June 14, 2001 12:55 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: RE: Problem processing stylesheet with java callouts
>
>
> From: "T T"
>
> Unfortunately, nothing helps. I changed the code to use
> javascript instead of vbscript as well as using MSXSL processor
> and it still failed. I check the sample javaextension and found
> that I must have a java class which I don't want to do. Is there
> other way to call other function?
> Thanks a lot.
>
> Here's the exact error msg I got
> Exception calling Java extension:
> java.lang.ClassNotFoundException: http:\\infomove.com
> at CXClassLoader.findClass(CXClassLoader.java:152)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>
> And here's my new code
> > xmlns:msxsl="urn:schemas-microsoft-com:xslt"
> xmlns:user="http:\\infomove.com" version="1.0">
>
> > function getName(node)
> { return node.item(0).nodeName
> }
>
> ]]>

>
>
>
>
>
> To reply: mailto:stylus-studio-tech.3082@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

Posttop
Ivan PedruzziSubject: RE: Problem processing stylesheet with java callouts
Author: Ivan Pedruzzi
Date: 14 Jun 2001 01:31 PM
You are still using the internal XSL processor, if you get that error.
If you want to use MSXML inside Studio you have to:
- Go to the scenario dialog
- Click on processor Tab
- Click on MSXSML
- Hit refresh button on the toolbar or press CTRL + F5

Hope this help


Ivan


> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Thursday, June 14, 2001 12:55 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: RE: Problem processing stylesheet with java callouts
>
> From: "T T"
>
> Unfortunately, nothing helps. I changed the code to use javascript
> instead of vbscript as well as using MSXSL processor and it still
failed.
> I check the sample javaextension and found that I must have a java
class
> which I don't want to do. Is there other way to call other function?
> Thanks a lot.
>
> Here's the exact error msg I got
> Exception calling Java extension:
> java.lang.ClassNotFoundException: http:\\infomove.com
> at CXClassLoader.findClass(CXClassLoader.java:152)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>
> And here's my new code
> > xmlns:msxsl="urn:schemas-microsoft-com:xslt"
> xmlns:user="http:\\infomove.com" version="1.0">
>
> > function getName(node)
> { return node.item(0).nodeName
> }
>
> ]]>

>
>
>
>
>
> To reply: mailto:stylus-studio-tech.3082@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN

   
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-2011 All Rights Reserved.