org.xml.sax.SAXParseException; lineNumber: 0; columnNumber: 0; The element type 'link' must be terminated by the matching end-tag '</link>'.

org.xml.sax.SAXParseException; lineNumber: 0; columnNumber: 0; The element type "link" must be terminated by the matching end-tag "</link>". 이와 같은 오류는 구글 블로그 테마를 편집하는 경우에 보실 수 있는 오류 중 하나입니다. 해당 라인넘버, 컬럼넘버를 따라가면, 오류에서 언급하는 태그를 찾을 수 있습니다. 점검하여 수정하시면 해결할 수 있습니다.

org.xml.sax.SAXParseException

The element type "link" must be terminated by the matching end-tag "</link>". 해결하기

<link href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/androidstudio.min.css' rel='stylesheet'> 이와 같이 링크 태그가 있었는데, link에 대한 종료 태그가 존재하지 않았습니다. 그리하여 <link> 태그와 </link> 태그와 같이 짝이 맞지 않는 현상이 있었기에 종료태그를 지정하여 해결하였습니다.

수정 이전

<link href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/androidstudio.min.css' rel='stylesheet'>

수정 이후

<link href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/androidstudio.min.css' rel='stylesheet' />

댓글 쓰기
가져가실 때, 출처 표시 부탁드려요! 감사합니다. 💗