1

주제: 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.

보시다시피 저렇게 두 개가 뜹니다. 모두 카테고리 출력 관련한 부분의 속성이 문제입니다.

수정 들어가야 할 것 같은데, 혹시 이미 카테고리 출력 루틴 수정하신 분 있나요?
하신 분 없으시면 직접 또 소스 노가다 들어가야 하는건가요 ㅠ_ㅠ 혹시 수정하신 분 있으시면 올려주세요 smile
(이전에 daybreaker님께서 한 번 태클을 거신 적이 있는 부분 같은데, 그게 캘린더인지 카테고리인지 햇갈립니다)

...아무도 없으시면 하루 기다렸다가 내일 새벽에 노가다 뛰고 sandbox에 올려놓겠습니다 ㅠ_ㅠ

"Everything looks different on the other side."

-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'

2

답글: xhtml validation 관련

또 하나;
파일을 업로드해서 포스트에 붙인 경우, 이미지가 아닌데 이미지틱하게 처리를 해서 xhtml 포맷과 왕창 어긋나게 되는 문제가 있습니다. sad

"Everything looks different on the other side."

-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'

3

답글: xhtml validation 관련

inureyes 작성:

자기 전에 제 블로그의 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.

보시다시피 저렇게 두 개가 뜹니다. 모두 카테고리 출력 관련한 부분의 속성이 문제입니다.

수정 들어가야 할 것 같은데, 혹시 이미 카테고리 출력 루틴 수정하신 분 있나요?
하신 분 없으시면 직접 또 소스 노가다 들어가야 하는건가요 ㅠ_ㅠ 혹시 수정하신 분 있으시면 올려주세요 smile
(이전에 daybreaker님께서 한 번 태클을 거신 적이 있는 부분 같은데, 그게 캘린더인지 카테고리인지 햇갈립니다)

...아무도 없으시면 하루 기다렸다가 내일 새벽에 노가다 뛰고 sandbox에 올려놓겠습니다 ㅠ_ㅠ

crizin 님이 validation 을 위해서 [##_categoy_##] 이외에 [##_category_list_##] 처럼 list 형태로 출력하는 기능을 마련했던 것으로 기억납니다. 혹시 이것을 사용하셨는지요 ??

4

답글: xhtml validation 관련

chester 작성:

crizin 님이 validation 을 위해서 [##_categoy_##] 이외에 [##_category_list_##] 처럼 list 형태로 출력하는 기능을 마련했던 것으로 기억납니다. 혹시 이것을 사용하셨는지요 ??

그렇군요 ㅠ_ㅠ

이쪽은 이렇게 해결할 수 있겠네요 big_smile
이제 첨부파일 부분들을 해결하면 되겠습니다 smile

"Everything looks different on the other side."

-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'