[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Can't use any of the xdt functions! Grrrr

Subject: RE: Can't use any of the xdt functions! Grrrr
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 19 Mar 2005 10:07:15 -0000
org.w3c.dom.
> Saxonb8-2:
> 
> C:\>java net.sf.saxon.Query -t "{<a
> xmlns:j='java:net.sf.saxon.om.NamespaceConstant'>{j:X
> DT()}</a>}"
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/w3c/dom/TypeInfo

It works for me:

Saxon 8.2 from Saxonica
Java version 1.5.0_02
Compiling query from {<a
xmlns:j='java:net.sf.saxon.om.NamespaceConstant'>{j:XDT()}</a>}
Compilation time: 851 milliseconds
<?xml version="1.0" encoding="UTF-8"?>
<a
xmlns:j="java:net.sf.saxon.om.NamespaceConstant">http://www.w3.org/2004/10/x
path-datatypes</a>

The class org.w3c.dom.TypeInfo is part of JAXP 1.3 - to run Saxon 8.2 you
either need JAXP 1.3 on your classpath, or you need to use JDK 1.5.

I absolutely agree that the change in namespace at each WD helps no-one.
However, it's not easy to get such policies changed because they are made by
people without practical experience of the problems they cause.

Michael Kay
http://www.saxonica.com/ 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.