[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
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|