[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XQuery

  • To: <xml-dev@l...>
  • Subject: XQuery
  • From: "Frantz, Fabio Andre" <fafrantz@u...>
  • Date: Tue, 25 Mar 2003 16:09:55 -0300
  • Disposition-notification-to: "Frantz, Fabio Andre" <fafrantz@u...>
  • Importance: high
  • Priority: Urgent
  • Thread-index: AcLzAh81DuE00E48QYyctNChfnS4tA==
  • Thread-topic: XQuery

java xpath parser
	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

  • Follow-Ups:
    • Re: XQuery
      • From: Jonathan Robie <jonathan.robie@d...>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.