-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS validation by URL is not implemented or just does not work #7
Comments
@emukhin did you try |
@yegor256 I did. Still the same. Validity: FALSE |
@emukhin maybe the W3C validator is broken at the moment. sometimes this happens. please try again in a few hours. |
@yegor256 I've been trying since yesterday. No luck. Are you sure it supposed to work that way? |
Simple get request http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.google.com%2F&output=soap12 returns well-formed results that makes me think that the service is working |
@emukhin this could be our bug then. let us investigate... |
@apocarteres the issue is yours, please help |
yeah, it's bug. Btw, |
Well, according to source code |
@apocarteres let's update the documentation to avoid such confusions? |
@yegor256 ok |
So, validation by URL won't be implemented, right? |
@emukhin probably in future, but right now it consumes CSS only |
@yegor256 seems that all corresponding JavaDocs say that HTML/CSS is expected. I haven't managed to find JavaDocs which says that URL expected there. |
@apocarteres let's emphasize this in the documentation, with a "notice" or something. To make sure it's clear that we're expecting a text, not a URL |
@yegor256 please check |
@apocarteres I'm not the reporter, ask @emukhin to review it |
@emukhin added comment to JavaDoc. please check |
Thanks. It seems clear. Feel really sorry for bothering. I should have believed the documentation. But I thought that you might forgot to mention this way of using the library. |
@emukhin nps. can u close the issue please? |
@apocarteres done, I added 30 mins in payment |
ValidationResponse responseCSS = new ValidatorBuilder().css().validate("http://google.com");
returns "Parse Error"
The text was updated successfully, but these errors were encountered: