MBaseRef mref= Manager.getOfficialMBase();
OJElement ele=mref.getCompleteDCMetadata(id);
works, but
OJXmlRpcMBaseRef mref=new OJXmlRpcMBaseRef("http://localhost:27000");
OJElement ele=mref.getCompleteDCMetadata(id);
throws the exception:
2005-09-28 15:29:34,334 INFO mbase.OJXmlRpcMBaseRef - Starting XML-RPC for Omdoc-Jdom at url http://localhost:27000
2005-09-28 15:29:34,336 INFO lucene.LuceneMBase - -> getCompleteDCMetadata
MBase exception: org.jdom.input.JDOMParseException: Error on line 1: required character (found "1") (expected "<")
MBaseException : org.jdom.input.JDOMParseException: Error on line 1: required character (found "1") (expected "<")
at org.activemath.omdocjdom.mbase.OJXmlRpcMBaseRef.parseStringElement(OJXmlRpcMBaseRef.java:691)
at org.activemath.omdocjdom.mbase.OJXmlRpcMBaseRef.getCompleteDCMetadata(OJXmlRpcMBaseRef.java:368)
paul