> See
http://www.w3.org/Style/CSS/SAC/
I have problems to start the parsing of a CSS file I always get a exception.
What is wrong?
This is my Main class:
import org.apache.batik.css.parser.*;
public class CSSTest {
public static void main(String[] args) {
Parser test = new Parser();
try {
test.parseStyleSheet("<STYLE type=\"text/css\">" +
" H1 { color: blue }</STYLE>");
}catch (Exception ex) {System.out.println(ex.toString());}
and then i always get the followin exception
org.w3c.css.sac.CSSException: Unable to make sense of URL for connection
Do you know what i have done wrong? Would be great if you could help me
Thanks