W3C home > Mailing lists > Public > www-style@w3.org > December 2003

SAC ParserFactory problem

From: Colin Bell <colinb@gatewest.co.uk>
Date: Fri, 5 Dec 2003 12:21:21 -0500 (EST)
Message-Id: <6FCEEA37-2747-11D8-BE3A-000A95928364@gatewest.co.uk>
To: www-style@w3.org
Hi there

In the example given at: http://www.w3.org/TR/SAC/DemoSAC.java the code 
in main is as follows:

source.setByteStream(stream);
source.setURI(uri.toString());
Parser parser = ParserFactory.makeParser();

yet I get the error: "non-static method makeParser() cannot be 
referenced from a static context"

I am using SAC 1.3.

Can anyone help, or offer an accurate example? I cant seem to find any 
other examples for this API. Any help would be useful

Many thanks

Colin
Received on Saturday, 6 December 2003 08:07:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT