???????

??????????????????????????????????????????????????????????????????????????????????????????????????????????build?????????????

???????????????????????????????????????????????????????????????????????????????

???????????????????

??????wap????????????????????????

????????build??????????????case?????????????????в???

??????????????????case???????????wml??xhtml????pc???????????opera????????wmlbrowser??firefox?????в???

??????????????????????????糢??????μ????????????????????????????????У?????????????????????????????????????????????

????????????????Ч??ò???????????????????????pc????????????????????????????????????????????????????????????????????????????????и?????????wap???????в?????????е???????????б???????pc???????????????????pc????????????????????????wap????????????????bad case????bug??

????????????

???????????????????????????粿?????????????httpЭ??淶??header??????????????????????????????????????£?

?????????????Щ???????????key?value??header??ζ??web server???????????????

??????????????????web server????????з??????????????get????Я??content-length=0??web server???????????httpЭ??淶??????????????????????

?????????????????????????????????????????????????????????????????γ?case???ο??????????????ο???

????????????

??????wap??????wml??xhtml?????汾????????????????????????pc????????????????????????????ЩС???????????????????????????????????£?

?????????url??????&??δ???

???????????????xhtml?汾????wml?汾??????????????

??????????????????pc?????????ff??????????????????????????????????????????Ч????????????????????·???£????????????wap????????淶????????????淶????????????????bad case?????????

??????????

???????header??????

???????????????γ??·???£?

????????1?????????????web server????дsocket server???????????????

????????2????η???header??key?????????key??????????????????header?????????????????γ?ο????

????????3???????????key??????????value??????????????????????????????γ?case??

??????????2????????header?????????????????header??????????????????header?????????????????г???????????1/1000??header????????γ?ο??????

??????????3?????????2?????????100??key????????????????????????value????????????value?????????????????????????key???????????????

????wap???淶??У???

??????α??wap????????淶????????????wml??xhtml??淶????????顣wap???淶??У?????????????????裺

????????1?????????????????淶???γ?ο????

????????2????????xmlУ??????????????????

??????????1????wap??????wml??xhtml?汾??wml?????????”wml_1.1.xml”??xhtml?????????”xhtml-mobile10.zip”?????????????淶??????±??

??????????2?????????????xml??У?鶴???????http://validator.w3.org/?????????У??????????????????????????У????????е??????????Ч???????????????????java?????????dom4j??????wml&xhtml??У????????????????dtd???м?顣????????dom4j??????????????Java XML API??

????????????wise???????dtd?淶??????£?????wml?????????”wml_1.1.xml”??xhtml?????????”xhtml-mobile10.zip”?????????dtd????????????????????????????wise-test????÷??????case????????check_validation??url???????????????url??????顣??????????У???ù??????????????飬??????????????????case????????????飬????????????wml???????xhtml??????μ??????????????