Hi all,
I`m working on Unicorn W3C validator Can anyone tell me how to fix this
issues, This is the UnicornClient help class
goten@MetalBig:~/NetBeansProjects/unicorn-console/dist$ java -jar
unicorn-console.jar
[Usage] UnicornClient ucn_task=TASK ucn_uri=URI ucn_format=FORMAT
ucn_output=OUTPUT ...
* tasks = one of task in tasklist.xml (eg: markup, css...)
* inputType : uri|file
* mimetype : text/html|text/css|... (required only if
inputType='file')
* pageToValid : an uri or a path to a file (depend on inputType)
* otherParameters : param1=val1,param2=val2...
[Example] UnicornClient markup uri=http://w3.org en xhtml10
[Example] UnicornClient calculator
uri=http://flyingman.sophia.w3.org/testen text10 x2=on,ptoto=titi
[Example] UnicornClient css file=text/css=./style/base.css fr text10
profile=css2,usermedium=screen,warning=2,lang=en
I put the style.css in directory and tried to run it but i get this error.
anyone please help me.
goten@MetalBig:~/NetBeansProjects/unicorn-console/dist$ java -jar
unicorn-console.jar UnicornClient css file=text/css=style.css en text10
Exception in thread "main" java.lang.IllegalArgumentException: URI is not
hierarchical
at java.io.File.<init>(File.java:380)
at org.w3c.unicorn.Framework.initCore(Framework.java:137)
at org.w3c.unicorn.Framework.initUnicorn(Framework.java:117)
at org.w3c.unicorn.UnicornClient.main(UnicornClient.java:55)
Thanks a lot.
--
Cheers
Ranjith,
Chennai
http://ranjith10z.wordpress.com
http://ranjithtenz.wordpress.com