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:

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

Received on Saturday, 6 December 2003 08:07:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC