- From: Richard H. McCullough <rhm@cdepot.net>
- Date: Wed, 15 Jan 2003 07:10:08 -0800
- To: "Rob McCool" <robm@robm.com>
- Cc: <public-rdf-tap@w3.org>
- Message-ID: <000c01c2bca8$4d371ba0$bf7ba8c0@rhm8200>
1. Is this something easily fixed? $ cd /home/tap/tap-0.72/Java/publishing $ . java.env $ export CLASSPATH=".;../tap.jar;../edu/stanford/TAP/" $ java kbtrans -i tap.rdf -o tap.mcf org.xml.sax.SAXParseException: XML declaration may only begin entities. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170) at org.apache.crimson.parser.Parser2.maybePI(Parser2.java:966) at org.apache.crimson.parser.Parser2.maybeMisc(Parser2.java:1092) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:487) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at javax.xml.parsers.SAXParser.parse(SAXParser.java:281) at edu.stanford.TAP.XML_Parser.ParseFile(XML_Parser.java:204) at edu.stanford.TAP.Import_XML.LoadFile(Import_XML.java:396) at edu.stanford.TAP.Import_RDF.LoadFile(Import_RDF.java:82) at edu.stanford.TAP.Import_Guess.LoadFile(Import_Guess.java:146) at kbtrans.main(kbtrans.java:98) $ 2. I downloaded the file "tap.rdf" with your Perl program. It begins <!-- set kformat=rdf --> <?xml version="1.0" encoding="UTF-8"?> <!-- TAP KB Fragment. Made available under the TAP KB Open License. Please see http://tap.stanford.edu/license.html --> <rdf:RDF xmlns:thiskb="" xmlns:a="http://tap.stanford.edu/2002/05/GetDataSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:tap="http://tap.stanford.edu/kb/" xmlns:cdnow="http://localhost:8000/cgi-bin/cdnow.cgi/"> <rdf:Description rdf:about="HockeyDigestMag"> <rdf:type>SportMagazine</rdf:type> </rdf:Description> ============ Dick McCullough knowledge := man do identify od existent done knowledge haspart proposition list
Received on Wednesday, 15 January 2003 10:10:58 UTC