db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Enabling XML Operations: Setting XALAN in CLASSPATH
Date Fri, 16 Apr 2010 16:21:01 GMT
Hi Rick,

Thanks for the reply.

After added as your suggestion to CLASSPATH, following is the echo:

C:\Users\Nirmal>echo %CLASSPATH%
C:\OtherNirmal\GSoC\Code\jars\sane\derby.jar;C:\OtherNirmal\GSoC\Code\jars\sane\
derbytools.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyrun.jar;C:\OtherNirmal\GS
oC\Code\jars\sane\derbynet.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyclient.ja
r;C:\OtherNirmal\GSoC\Code\jars\sane\derbyTesting.jar;C:\OtherNirmal\GSoC\Code\t
ools\java\jakarta-oro-2.0.8.jar;C:\OtherNirmal\GSoC\Code\tools\java\junit.jar;C:
\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_cs.jar;C:\OtherNirmal\GSoC\Code\jar
s\sane\derbyLocale_de_DE.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_es.j
ar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_fr.jar;C:\OtherNirmal\GSoC\Cod
e\jars\sane\derbyLocale_hu.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_it
.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_ja_JP.jar;C:\OtherNirmal\GSo
C\Code\jars\sane\derbyLocale_ko_KR.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyL
ocale_pl.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_pt_BR.jar;C:\OtherNi
rmal\GSoC\Code\jars\sane\derbyLocale_ru.jar;C:\OtherNirmal\GSoC\Code\jars\sane\d
erbyLocale_zh_CN.jar;C:\OtherNirmal\GSoC\Code\jars\sane\derbyLocale_zh_TW.jar;
C:
\OtherNirmal\GSoC\Code\tools\java\xalan.jar;C:\OtherNirmal\GSoC\Code\tools\java\
xercesImpl.jar;C:\OtherNirmal\GSoC\Code\tools\java\serializer.jar;C:\OtherNirmal
\GSoC\Code\tools\java\xml-apis.jar;C:\OtherNirmal\GSoC\Code\tools\java\xsltc.jar


ij version 10.6
ij> CONNECT 'jdbc:derby:nirmal;create=false';
ij> create table t4 ( a xml );
0 rows inserted/updated/deleted
ij> insert into t4 ( a ) values ( xmlparse( document '<?xml version="1.0"
encodi
ng="UTF-8"?> <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
<?xml-styleshee
t href="z_files/global.css" type="text/css"?> <html id="feedHandler"
xmlns="http
://www.w3.org/1999/xhtml"  xmlns:xul="
http://www.mozilla.org/keymaster/gatekeepe
r/there.is.only.xul">   <head> <meta http-equiv="content-type"
content="text/htm
l; charset=UTF-8" />     <title>Derby 10.6.1 Fixed Bugs List (ASF
JIRA)</title>
    <link rel="stylesheet" href="z_files/subscribe.css" type="text/css"
 media="
all" />     <script type="application/x-javascript"
src="z_files/subscribe.js"><
/script>   </head></html>' preserve whitespace ) );


ERROR XML00: Failed to locate 'Xalan' API or implementation classes.  XML
operat
ions are not permitted unless these classes are in your classpath.

Can you see any mistake in CLASSPATH? If it is correct, what can be the
reason?


Thanks.

-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Mime
View raw message