text.xml && xsltpro" />
开发者

curl w3c-markup-validator localy is slow, how do I make it faster?

I am using curl like this:

curl -s -F "uploaded_file=@/path_to_file;type=text/html" -F output=soap12 http://localhost/w3c-markup-validator/che开发者_StackOverflow社区ck >text.xml && xsltproc script/guilbep_soap_w3c.xsl text.xml

xsltproc is fast; but curl is not.

does it come from the fact that w3c-markup-validator is local? or from w3c-markup-validator itself? Or from curl and I can do something?

I would like to test more than 6000 xhtml.. and if I have to wait 2 sec between each .. more than 1 hour.. I can wait.. but I don't like it.

Thanks!!


I believe that it is quite probably that the 2 second delay is because you transfer the file over http. Is it possible to run the validator locally, without sending it to a webserver?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜