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

Re: SAC ParserFactory problem

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 08 Dec 2003 02:47:28 +0100
To: Colin Bell <colinb@gatewest.co.uk>
Cc: www-style@w3.org
Message-ID: <3fd9d821.146163291@smtp.bjoern.hoehrmann.de>

* Colin Bell wrote:
>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"

http://lists.w3.org/Archives/Public/www-style/2002Nov/0006.html
Received on Sunday, 7 December 2003 20:54:46 GMT

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