|
From: HARUYAMA S. <har...@qu...> - 2002-12-31 07:52:39
|
Xalan-jに付属の xalan.jar をクラスパスに含めていると coderidge-rdfで Exceptionを吐くようになりました。 % java -cp .:/home/haruyama/work/P2P/FANAL/lib/coderidge-rdf.jar:/home/haruyama/work/P2P/FANAL/lib/commons-collections.jar:/home/haruyama/work/Java/ServerSide/coderidge-servlet/lib/regexp.jar:/home/haruyama/work/P2P/JXTA_stable_2002_09_24/lib/log4j.jar:/home/haruyama/work/XML/xalan/bin/xalan.jar XSLUtil syntax error, expecting SRDF SDESCRIPTION SLISTITEM SUNKNOWN SSEQ SBAG SALT EDESCRIPTION STRING org.coderidge.rdf.ParsingException at org.coderidge.rdf.RDFToTriples.getTriples(RDFToTriples.java:76) at org.coderidge.rdf.RDFToTriples.getTriples(RDFToTriples.java:84) at XSLUtil.loadRDFFiles(XSLUtil.java:54) at XSLUtil.<init>(XSLUtil.java:39) at XSLUtil.main(XSLUtil.java:65) Caused by: org.coderidge.jay.YyException: irrecoverable syntax error at org.coderidge.rdf.RDFParser.yyparse(RDFParser.java:277) at org.coderidge.rdf.RDFToTriples.getTriples(RDFToTriples.java:74) ... 4 more はずした場合は成功します。 honbu:~/work/XML/CodeRidgeInfo% java -cp .:/home/haruyama/work/P2P/FANAL/lib/coderidge-rdf.jar:/home/haruyama/work/P2P/FANAL/lib/commons-collections.jar:/home/haruyama/work/Java/ServerSide/coderidge-servlet/lib/regexp.jar:/home/haruyama/work/P2P/JXTA_stable_2002_09_24/lib/log4j.jar XSLUtil http://coderidge.org/schemas/author/1.0#Homepage har...@un... http://coderidge.org/schemas/author/1.0#Email http://www.unixuser.org/~haruyama/ http://coderidge.org/schemas/author/1.0#Name HARUYAMA Seigo 環境を http://www.unixuser.org/%7Eharuyama/P2P/snapshot/CodeRidgeInfo/ に置きました。 対処法はあるでしょうか? XSLTで CodeRidge RDF -> XHTML というのをやろうと思ったのですが 障害があるなら Triples -> XHTML でやってもいいでしょう。 -- 春山 征吾 / HARUYAMA Seigo har...@un... har...@qu... |