주제: xhtml validation 관련
자기 전에 제 블로그의 xhtml validation을 한 번 체크해 보았습니다. 자연스럽게 통과될 줄 알았는데,
...통과 못했습니다. 오류가 두 개 뜨네요. ㅠ_ㅠ
# Error Line 665 column 48: there is no attribute "currentselectednode".
...="treeComponent" currentselectednode="1" cellpadding="0" cellspacing="0" styl
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
# Error Line 667 column 30: there is no attribute "name".
<table id="category_0" name="treeNode" cellpadding="0" cellspacing="0"><tr>
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
보시다시피 저렇게 두 개가 뜹니다. 모두 카테고리 출력 관련한 부분의 속성이 문제입니다.
수정 들어가야 할 것 같은데, 혹시 이미 카테고리 출력 루틴 수정하신 분 있나요?
하신 분 없으시면 직접 또 소스 노가다 들어가야 하는건가요 ㅠ_ㅠ 혹시 수정하신 분 있으시면 올려주세요 ![]()
(이전에 daybreaker님께서 한 번 태클을 거신 적이 있는 부분 같은데, 그게 캘린더인지 카테고리인지 햇갈립니다)
...아무도 없으시면 하루 기다렸다가 내일 새벽에 노가다 뛰고 sandbox에 올려놓겠습니다 ㅠ_ㅠ
-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'