[
Lists Home |
Date Index |
Thread Index
]
- To: <xml-dev@lists.xml.org>
- Subject: XQuery
- From: "Frantz, Fabio Andre" <fafrantz@unileaf.com.br>
- Date: Tue, 25 Mar 2003 16:09:55 -0300
- Disposition-notification-to: "Frantz, Fabio Andre" <fafrantz@unileaf.com.br>
- Importance: high
- Priority: Urgent
- Thread-index: AcLzAh81DuE00E48QYyctNChfnS4tA==
- Thread-topic: XQuery
Hi,
I am trying to execute the parser of XQuery (xgrammar.zip), but I am having problems. I did download of site: <http://www.w3.org/2002/08/applets/xqueryApplet.html>
In file xgrammar.zip has the file Test.java. Anyone knows this parser? To execute the file Test.java i am using the prompt of DOS... javac Test.java
The errors are in attach.
Thanks,
Fábio Frantz
<<erro.txt>>
C:\JAVA\XQUERY\XGRAMMAR>javac Test.java > teste
Test.java:58: cannot resolve symbol
symbol : class XPath
location: class Test
XPath parser = new XPath(fis);
^
Test.java:58: cannot resolve symbol
symbol : class XPath
location: class Test
XPath parser = new XPath(fis);
^
.\SimpleNode.java:6: cannot resolve symbol
symbol : class Node
location: class SimpleNode
public class SimpleNode implements Node {
^
.\SimpleNode.java:7: cannot resolve symbol
symbol : class Node
location: class SimpleNode
protected Node parent;
^
.\SimpleNode.java:8: cannot resolve symbol
symbol : class Node
location: class SimpleNode
protected Node[] children;
^
.\SimpleNode.java:10: cannot resolve symbol
symbol : class XPath
location: class SimpleNode
protected XPath parser;
^
.\SimpleNode.java:16: cannot resolve symbol
symbol : class XPath
location: class SimpleNode
public SimpleNode(XPath p, int i) {
^
.\SimpleNode.java:27: cannot resolve symbol
symbol : class Node
location: class SimpleNode
public void jjtSetParent(Node n) { parent = n; }
^
.\SimpleNode.java:28: cannot resolve symbol
symbol : class Node
location: class SimpleNode
public Node jjtGetParent() { return parent; }
^
.\SimpleNode.java:30: cannot resolve symbol
symbol : class Node
location: class SimpleNode
public void jjtAddChild(Node n, int i) {
^
.\SimpleNode.java:41: cannot resolve symbol
symbol : class Node
location: class SimpleNode
public Node jjtGetChild(int i) {
^
.\SimpleNode.java:50: cannot resolve symbol
symbol : class XPathVisitor
location: class SimpleNode
public Object jjtAccept(XPathVisitor visitor, Object data) {
^
.\SimpleNode.java:55: cannot resolve symbol
symbol : class XPathVisitor
location: class SimpleNode
public Object childrenAccept(XPathVisitor visitor, Object data) {
^
.\SimpleNode.java:98: cannot resolve symbol
symbol : class Token
location: class SimpleNode
public void processToken(Token t) { m_value = t.image; }
^
Test.java:80: cannot resolve symbol
symbol : class XPath
location: class Test
XPath parser = new XPath(new java.io.StringBufferInputStream(xpath
String));
^
Test.java:80: cannot resolve symbol
symbol : class XPath
location: class Test
XPath parser = new XPath(new java.io.StringBufferInputStream(xpath
String));
^
.\SimpleNode.java:32: cannot resolve symbol
symbol : class Node
location: class SimpleNode
children = new Node[i + 1];
^
.\SimpleNode.java:34: cannot resolve symbol
symbol : class Node
location: class SimpleNode
Node c[] = new Node[i + 1];
^
.\SimpleNode.java:34: cannot resolve symbol
symbol : class Node
location: class SimpleNode
Node c[] = new Node[i + 1];
^
.\SimpleNode.java:70: cannot resolve symbol
symbol : variable XPathTreeConstants
location: class SimpleNode
public String toString() { return XPathTreeConstants.jjtNodeName[id]; }
^
Note: Test.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
20 errors
|