saxon 9b using projection
Added by Anonymous about 17 years ago
Legacy ID: #4618764 Legacy Poster: nan00k (nan00k)
I'm trying to combine the -r, -x, and -projection options for xquery, and generating an error in the process. So, command is: java -Xmx512m -cp "/Library/Java/Extensions/saxonb9-0-0-1j/saxon9.jar:/Library/Java/Extensions/xml-commons-resolver-1.2/resolver.jar:/Users/admin/Documents/work/xml-xsl/catalog/" net.sf.saxon.Query -x:org.apache.xml.resolver.tools.ResolvingXMLReader -r:org.apache.xml.resolver.tools.CatalogResolver -projection:on [query file] ... and I get Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.saxonica.validate.SchemaAwareConfiguration at net.sf.saxon.Configuration.makeSchemaAwareConfiguration(Configuration.java:350) at net.sf.saxon.Query.makeConfiguration(Query.java:73) at net.sf.saxon.Query.doQuery(Query.java:123) at net.sf.saxon.Query.main(Query.java:108) Caused by: java.lang.ClassNotFoundException: com.saxonica.validate.SchemaAwareConfiguration at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at net.sf.saxon.Configuration.makeSchemaAwareConfiguration(Configuration.java:343) ... 3 more Is the projection option SA only?
Replies (1)
RE: saxon 9b using projection - Added by Anonymous about 17 years ago
Legacy ID: #4618834 Legacy Poster: Michael Kay (mhkay)
Yes, document projection is available only in Saxon-SA. I'll try and improve the error reporting. Michael Kay http://www.saxonica.com/
Please register to reply