w3c_validators 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/.travis.yml +7 -0
- data/CHANGELOG +14 -2
- data/Gemfile +3 -0
- data/Gemfile.lock +43 -0
- data/{README.rdoc → README.md} +41 -29
- data/Rakefile +64 -0
- data/lib/w3c_validators.rb +2 -1
- data/lib/w3c_validators/css_validator.rb +23 -16
- data/lib/w3c_validators/feed_validator.rb +4 -4
- data/lib/w3c_validators/markup_validator.rb +29 -29
- data/lib/w3c_validators/message.rb +6 -2
- data/lib/w3c_validators/nu_validator.rb +2 -2
- data/lib/w3c_validators/validator.rb +48 -43
- data/lib/w3c_validators/version.rb +3 -0
- data/test/fixtures/bootstrap.min.css +6 -0
- data/test/fixtures/invalid_css.css +2 -0
- data/test/fixtures/invalid_encoding.html +10 -0
- data/test/fixtures/invalid_feed.xml +19 -0
- data/test/fixtures/invalid_html5.html +16 -0
- data/test/fixtures/invalid_markup.html +11 -0
- data/test/fixtures/valid_css.css +2 -0
- data/test/fixtures/valid_feed.xml +20 -0
- data/test/fixtures/valid_html5.html +16 -0
- data/test/fixtures/valid_markup.html +11 -0
- data/test/http_recording/css_context.yml +72 -0
- data/test/http_recording/css_overriding_css_profile.yml +66 -0
- data/test/http_recording/css_skippedstring.yml +72 -0
- data/test/http_recording/css_validating_big_file.yml +1423 -0
- data/test/http_recording/css_validating_file.yml +72 -0
- data/test/http_recording/css_validating_text.yml +66 -0
- data/test/http_recording/css_validating_text_via_file.yml +72 -0
- data/test/http_recording/css_validating_uri.yml +65 -0
- data/test/http_recording/css_vendor_extensions_as_errors.yml +65 -0
- data/test/http_recording/css_vendor_extensions_as_warnings.yml +62 -0
- data/test/http_recording/css_vendor_extensions_default.yml +62 -0
- data/test/http_recording/feed_validating_file.yml +49 -0
- data/test/http_recording/feed_validating_text.yml +46 -0
- data/test/http_recording/feed_validating_text_via_file.yml +49 -0
- data/test/http_recording/feed_validating_uri_with_soap.yml +50 -0
- data/test/http_recording/html5_getting_request_data.yml +51 -0
- data/test/http_recording/html5_validating_uri.yml +74 -0
- data/test/http_recording/markup_debugging_uri.yml +83 -0
- data/test/http_recording/markup_overriding_charset.yml +125 -0
- data/test/http_recording/markup_overriding_charset_for_fallback_only.yml +76 -0
- data/test/http_recording/markup_overriding_doctype.yml +208 -0
- data/test/http_recording/markup_overriding_doctype_for_fallback_only.yml +84 -0
- data/test/http_recording/markup_validating_file.yml +93 -0
- data/test/http_recording/markup_validating_text.yml +67 -0
- data/test/http_recording/markup_validating_text_via_file.yml +93 -0
- data/test/http_recording/markup_validating_uri_with_head_request.yml +38 -0
- data/test/http_recording/markup_validating_uri_with_soap.yml +76 -0
- data/test/http_recording/markup_validator_abort.yml +50 -0
- data/test/http_recording/markup_validator_contains_details_of_error_conditions.yml +76 -0
- data/test/test_css_validator.rb +78 -17
- data/test/test_exceptions.rb +11 -8
- data/test/test_feed_validator.rb +42 -39
- data/test/test_helper.rb +7 -2
- data/test/test_html5_validator.rb +42 -34
- data/test/test_markup_validator.rb +75 -52
- data/test/test_proxy.rb +5 -2
- data/w3c_validators.gemspec +24 -0
- metadata +154 -68
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "--349832898984244898448024464570528145\r\nContent-Disposition: form-data;
|
9
|
+
name=\"profile\"\r\n\r\ncss3\r\n--349832898984244898448024464570528145\r\nContent-Disposition:
|
10
|
+
form-data; name=\"text\"\r\n\r\n/* one error, no warnings */\nbody { margin:
|
11
|
+
blue; }\r\n--349832898984244898448024464570528145\r\nContent-Disposition:
|
12
|
+
form-data; name=\"output\"\r\n\r\nsoap12\r\n--349832898984244898448024464570528145--\r\n"
|
13
|
+
headers:
|
14
|
+
Content-Type:
|
15
|
+
- multipart/form-data; boundary=349832898984244898448024464570528145
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
User-Agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Tue, 25 Oct 2016 21:41:54 GMT
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Content-Language:
|
36
|
+
- en
|
37
|
+
Content-Type:
|
38
|
+
- application/soap+xml;charset=utf-8
|
39
|
+
Server:
|
40
|
+
- Jigsaw/2.3.0-beta3
|
41
|
+
Vary:
|
42
|
+
- Accept-Language
|
43
|
+
X-W3c-Validator-Errors:
|
44
|
+
- '1'
|
45
|
+
X-W3c-Validator-Status:
|
46
|
+
- Invalid
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
50
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
51
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>TextArea</m:uri>\n
|
52
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
53
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-25T09:41:54Z</m:date>\n
|
54
|
+
\ <m:validity>false</m:validity>\n <m:result>\n <m:errors
|
55
|
+
xml:lang=\"en\">\n <m:errorcount>1</m:errorcount>\n \n
|
56
|
+
\ <m:errorlist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
57
|
+
\ \n <m:error>\n <m:line>2</m:line>\n
|
58
|
+
\ <m:errortype>parse-error</m:errortype>\n <m:context>body</m:context>
|
59
|
+
\ \n <m:errorsubtype>\n exp\n
|
60
|
+
\ </m:errorsubtype>\n <m:skippedstring>\n
|
61
|
+
\ blue\n </m:skippedstring>\n
|
62
|
+
\ <m:type>value</m:type>\n \n <m:message>\n
|
63
|
+
\ \n Value Error : margin (nullbox.html#propdef-margin)\n
|
64
|
+
\ \n blue is not a margin value : \n
|
65
|
+
\ </m:message>\n </m:error>\n
|
66
|
+
\ \n </m:errorlist>\n \n </m:errors>\n
|
67
|
+
\ <m:warnings xml:lang=\"en\">\n <m:warningcount>0</m:warningcount>\n
|
68
|
+
\ </m:warnings>\n </m:result>\n </m:cssvalidationresponse>\n
|
69
|
+
\ </env:Body>\n</env:Envelope>\n\n"
|
70
|
+
http_version:
|
71
|
+
recorded_at: Tue, 25 Oct 2016 21:41:54 GMT
|
72
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator?output=soap12&profile=css3&text=%20%20%20%20a%20%7B%20color:%20white%3B%20%7D%0A%20%20%20%20body%20%7B%20margin:%20blue%3B%20%7D%0A%20%20%20%20%0A
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Date:
|
24
|
+
- Mon, 24 Oct 2016 21:28:28 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Content-Language:
|
30
|
+
- en
|
31
|
+
Content-Type:
|
32
|
+
- application/soap+xml;charset=utf-8
|
33
|
+
Server:
|
34
|
+
- Jigsaw/2.3.0-beta3
|
35
|
+
Vary:
|
36
|
+
- Accept-Language
|
37
|
+
X-W3c-Validator-Errors:
|
38
|
+
- '1'
|
39
|
+
X-W3c-Validator-Status:
|
40
|
+
- Invalid
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ! "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
44
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
45
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>file://localhost/TextArea</m:uri>\n
|
46
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
47
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-24T09:28:28Z</m:date>\n
|
48
|
+
\ <m:validity>false</m:validity>\n <m:result>\n <m:errors
|
49
|
+
xml:lang=\"en\">\n <m:errorcount>1</m:errorcount>\n \n
|
50
|
+
\ <m:errorlist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
51
|
+
\ \n <m:error>\n <m:line>2</m:line>\n
|
52
|
+
\ <m:errortype>parse-error</m:errortype>\n <m:context>body</m:context>
|
53
|
+
\ \n <m:errorsubtype>\n exp\n
|
54
|
+
\ </m:errorsubtype>\n <m:skippedstring>\n
|
55
|
+
\ blue\n </m:skippedstring>\n
|
56
|
+
\ <m:type>value</m:type>\n \n <m:message>\n
|
57
|
+
\ \n Value Error : margin (nullbox.html#propdef-margin)\n
|
58
|
+
\ \n blue is not a margin value : \n
|
59
|
+
\ </m:message>\n </m:error>\n
|
60
|
+
\ \n </m:errorlist>\n \n </m:errors>\n
|
61
|
+
\ <m:warnings xml:lang=\"en\">\n <m:warningcount>0</m:warningcount>\n
|
62
|
+
\ </m:warnings>\n </m:result>\n </m:cssvalidationresponse>\n
|
63
|
+
\ </env:Body>\n</env:Envelope>\n\n"
|
64
|
+
http_version:
|
65
|
+
recorded_at: Mon, 24 Oct 2016 21:28:29 GMT
|
66
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "--349832898984244898448024464570528145\r\nContent-Disposition: form-data;
|
9
|
+
name=\"profile\"\r\n\r\ncss3\r\n--349832898984244898448024464570528145\r\nContent-Disposition:
|
10
|
+
form-data; name=\"text\"\r\n\r\n/* one error, no warnings */\nbody { margin:
|
11
|
+
blue; }\r\n--349832898984244898448024464570528145\r\nContent-Disposition:
|
12
|
+
form-data; name=\"output\"\r\n\r\nsoap12\r\n--349832898984244898448024464570528145--\r\n"
|
13
|
+
headers:
|
14
|
+
Content-Type:
|
15
|
+
- multipart/form-data; boundary=349832898984244898448024464570528145
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
User-Agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Tue, 25 Oct 2016 21:41:56 GMT
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Content-Language:
|
36
|
+
- en
|
37
|
+
Content-Type:
|
38
|
+
- application/soap+xml;charset=utf-8
|
39
|
+
Server:
|
40
|
+
- Jigsaw/2.3.0-beta2
|
41
|
+
Vary:
|
42
|
+
- Accept-Language
|
43
|
+
X-W3c-Validator-Errors:
|
44
|
+
- '1'
|
45
|
+
X-W3c-Validator-Status:
|
46
|
+
- Invalid
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
50
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
51
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>TextArea</m:uri>\n
|
52
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
53
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-25T09:41:56Z</m:date>\n
|
54
|
+
\ <m:validity>false</m:validity>\n <m:result>\n <m:errors
|
55
|
+
xml:lang=\"en\">\n <m:errorcount>1</m:errorcount>\n \n
|
56
|
+
\ <m:errorlist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
57
|
+
\ \n <m:error>\n <m:line>2</m:line>\n
|
58
|
+
\ <m:errortype>parse-error</m:errortype>\n <m:context>body</m:context>
|
59
|
+
\ \n <m:errorsubtype>\n exp\n
|
60
|
+
\ </m:errorsubtype>\n <m:skippedstring>\n
|
61
|
+
\ blue\n </m:skippedstring>\n
|
62
|
+
\ <m:type>value</m:type>\n \n <m:message>\n
|
63
|
+
\ \n Value Error : margin (nullbox.html#propdef-margin)\n
|
64
|
+
\ \n blue is not a margin value : \n
|
65
|
+
\ </m:message>\n </m:error>\n
|
66
|
+
\ \n </m:errorlist>\n \n </m:errors>\n
|
67
|
+
\ <m:warnings xml:lang=\"en\">\n <m:warningcount>0</m:warningcount>\n
|
68
|
+
\ </m:warnings>\n </m:result>\n </m:cssvalidationresponse>\n
|
69
|
+
\ </env:Body>\n</env:Envelope>\n\n"
|
70
|
+
http_version:
|
71
|
+
recorded_at: Tue, 25 Oct 2016 21:41:56 GMT
|
72
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator?output=soap12&profile=svgbasic&text=%20%20%20%20a%20%7B%20color:%20white%3B%20%7D%0A%20%20%20%20body%20%7B%20margin:%20blue%3B%20%7D%0A%20%20%20%20%0A
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Date:
|
24
|
+
- Mon, 24 Oct 2016 21:28:31 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Content-Language:
|
30
|
+
- en
|
31
|
+
Content-Type:
|
32
|
+
- application/soap+xml;charset=utf-8
|
33
|
+
Server:
|
34
|
+
- Jigsaw/2.3.0-beta3
|
35
|
+
Vary:
|
36
|
+
- Accept-Language
|
37
|
+
X-W3c-Validator-Errors:
|
38
|
+
- '1'
|
39
|
+
X-W3c-Validator-Status:
|
40
|
+
- Invalid
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ! "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
44
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
45
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>file://localhost/TextArea</m:uri>\n
|
46
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
47
|
+
\ <m:csslevel>css21</m:csslevel>\n <m:date>2016-10-24T09:28:31Z</m:date>\n
|
48
|
+
\ <m:validity>false</m:validity>\n <m:result>\n <m:errors
|
49
|
+
xml:lang=\"en\">\n <m:errorcount>1</m:errorcount>\n \n
|
50
|
+
\ <m:errorlist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
51
|
+
\ \n <m:error>\n <m:line>2</m:line>\n
|
52
|
+
\ <m:errortype>parse-error</m:errortype>\n <m:context>body</m:context>
|
53
|
+
\ \n <m:errorsubtype>\n exp\n
|
54
|
+
\ </m:errorsubtype>\n <m:skippedstring>\n
|
55
|
+
\ blue\n </m:skippedstring>\n
|
56
|
+
\ <m:type>noexistence</m:type>\n \n <m:message>\n
|
57
|
+
\ \n Property margin doesn't exist
|
58
|
+
in SVG Basic but exists in [css1, css2, css21, css3] : \n </m:message>\n
|
59
|
+
\ </m:error>\n \n </m:errorlist>\n
|
60
|
+
\ \n </m:errors>\n <m:warnings xml:lang=\"en\">\n
|
61
|
+
\ <m:warningcount>0</m:warningcount>\n </m:warnings>\n
|
62
|
+
\ </m:result>\n </m:cssvalidationresponse>\n </env:Body>\n</env:Envelope>\n\n"
|
63
|
+
http_version:
|
64
|
+
recorded_at: Mon, 24 Oct 2016 21:28:31 GMT
|
65
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator?output=soap12&profile=css3&text=some-class%20%7B%20-moz-border-radius:%203px%3B%20%7D&vextwarning=false
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Date:
|
24
|
+
- Sat, 29 Oct 2016 09:21:42 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Content-Language:
|
30
|
+
- en
|
31
|
+
Content-Type:
|
32
|
+
- application/soap+xml;charset=utf-8
|
33
|
+
Server:
|
34
|
+
- Jigsaw/2.3.0-beta3
|
35
|
+
Vary:
|
36
|
+
- Accept-Language
|
37
|
+
X-W3c-Validator-Errors:
|
38
|
+
- '1'
|
39
|
+
X-W3c-Validator-Status:
|
40
|
+
- Invalid
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
44
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
45
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>file://localhost/TextArea</m:uri>\n
|
46
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
47
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-29T09:21:42Z</m:date>\n
|
48
|
+
\ <m:validity>false</m:validity>\n <m:result>\n <m:errors
|
49
|
+
xml:lang=\"en\">\n <m:errorcount>1</m:errorcount>\n \n
|
50
|
+
\ <m:errorlist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
51
|
+
\ \n <m:error>\n <m:line>1</m:line>\n
|
52
|
+
\ <m:errortype>parse-error</m:errortype>\n <m:context>some-class</m:context>
|
53
|
+
\ \n <m:errorsubtype>\n exp\n
|
54
|
+
\ </m:errorsubtype>\n <m:skippedstring>\n
|
55
|
+
\ 3px\n </m:skippedstring>\n
|
56
|
+
\ <m:type>noexistence-at-all</m:type>\n \n
|
57
|
+
\ <m:message>\n \n Property
|
58
|
+
-moz-border-radius doesn't exist : \n </m:message>\n
|
59
|
+
\ </m:error>\n \n </m:errorlist>\n
|
60
|
+
\ \n </m:errors>\n <m:warnings xml:lang=\"en\">\n
|
61
|
+
\ <m:warningcount>0</m:warningcount>\n </m:warnings>\n
|
62
|
+
\ </m:result>\n </m:cssvalidationresponse>\n </env:Body>\n</env:Envelope>\n\n"
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sat, 29 Oct 2016 09:21:42 GMT
|
65
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator?output=soap12&profile=css3&text=some-class%20%7B%20-moz-border-radius:%203px%3B%20%7D&vextwarning=true
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Date:
|
24
|
+
- Sat, 29 Oct 2016 09:21:43 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Content-Language:
|
30
|
+
- en
|
31
|
+
Content-Type:
|
32
|
+
- application/soap+xml;charset=utf-8
|
33
|
+
Server:
|
34
|
+
- Jigsaw/2.3.0-beta2
|
35
|
+
Vary:
|
36
|
+
- Accept-Language
|
37
|
+
X-W3c-Validator-Errors:
|
38
|
+
- '0'
|
39
|
+
X-W3c-Validator-Status:
|
40
|
+
- Valid
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
44
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
45
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>file://localhost/TextArea</m:uri>\n
|
46
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
47
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-29T09:21:43Z</m:date>\n
|
48
|
+
\ <m:validity>true</m:validity>\n <m:result>\n <m:errors
|
49
|
+
xml:lang=\"en\">\n <m:errorcount>0</m:errorcount>\n \n
|
50
|
+
\ </m:errors>\n <m:warnings xml:lang=\"en\">\n
|
51
|
+
\ <m:warningcount>1</m:warningcount>\n \n
|
52
|
+
\ <m:warninglist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
53
|
+
\ \n <m:warning>\n
|
54
|
+
\ <m:line>1</m:line>\n <m:level>0</m:level>\n
|
55
|
+
\ <m:message>Property -moz-border-radius is an unknown
|
56
|
+
vendor extension</m:message>\n <m:type>vendor-extension</m:type>\n
|
57
|
+
\ </m:warning>\n \n </m:warninglist>\n
|
58
|
+
\ </m:warnings>\n </m:result>\n </m:cssvalidationresponse>\n
|
59
|
+
\ </env:Body>\n</env:Envelope>\n\n"
|
60
|
+
http_version:
|
61
|
+
recorded_at: Sat, 29 Oct 2016 09:21:43 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jigsaw.w3.org/css-validator/validator?output=soap12&profile=css3&text=p%20%7B%20-moz-border-radius:%205px%3B%20%7D
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-cache
|
23
|
+
Date:
|
24
|
+
- Sat, 29 Oct 2016 09:25:44 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Content-Language:
|
30
|
+
- en
|
31
|
+
Content-Type:
|
32
|
+
- application/soap+xml;charset=utf-8
|
33
|
+
Server:
|
34
|
+
- Jigsaw/2.3.0-beta2
|
35
|
+
Vary:
|
36
|
+
- Accept-Language
|
37
|
+
X-W3c-Validator-Errors:
|
38
|
+
- '0'
|
39
|
+
X-W3c-Validator-Status:
|
40
|
+
- Valid
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: "<?xml version='1.0' encoding=\"utf-8\"?>\n<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\">\n
|
44
|
+
\ <env:Body>\n <m:cssvalidationresponse\n env:encodingStyle=\"http://www.w3.org/2003/05/soap-encoding\"\n
|
45
|
+
\ xmlns:m=\"http://www.w3.org/2005/07/css-validator\">\n <m:uri>file://localhost/TextArea</m:uri>\n
|
46
|
+
\ <m:checkedby>http://jigsaw.w3.org/css-validator/</m:checkedby>\n
|
47
|
+
\ <m:csslevel>css3</m:csslevel>\n <m:date>2016-10-29T09:25:44Z</m:date>\n
|
48
|
+
\ <m:validity>true</m:validity>\n <m:result>\n <m:errors
|
49
|
+
xml:lang=\"en\">\n <m:errorcount>0</m:errorcount>\n \n
|
50
|
+
\ </m:errors>\n <m:warnings xml:lang=\"en\">\n
|
51
|
+
\ <m:warningcount>1</m:warningcount>\n \n
|
52
|
+
\ <m:warninglist>\n <m:uri>file://localhost/TextArea</m:uri>\n
|
53
|
+
\ \n <m:warning>\n
|
54
|
+
\ <m:line>1</m:line>\n <m:level>0</m:level>\n
|
55
|
+
\ <m:message>Property -moz-border-radius is an unknown
|
56
|
+
vendor extension</m:message>\n <m:type>vendor-extension</m:type>\n
|
57
|
+
\ </m:warning>\n \n </m:warninglist>\n
|
58
|
+
\ </m:warnings>\n </m:result>\n </m:cssvalidationresponse>\n
|
59
|
+
\ </env:Body>\n</env:Envelope>\n\n"
|
60
|
+
http_version:
|
61
|
+
recorded_at: Sat, 29 Oct 2016 09:25:45 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|