XML 유효성 검사 프로그램 괜찮은거 없을까요?

icanfly의 이미지

DTD나 XML 스카마에 대한 xml파일의 유효성을 검사해주는 간단한 툴이

오픈 소스 용으로 있는지 궁금합니다.

소스포지나 kldp.ne에 찾아봐도 없는거 같아서....

거창하게는 필요없고, 유효성 검사만 되면 좋겠는데...

파이어폭스 확장모듈로도 있을거같은데 잘 못찾겠더군요.

그럼 답변 부탁드립니다.

stadia의 이미지

html tidy 라는 넘이 있을텐데요
html, xhtml, xml 의 유효성을 검사해줄겁니다.
이클립스 플러긴도 있는데
써볼 일이 별로 없어서 -.-;;

atie의 이미지

질문이 막연합니다. xml의 valid 체크는 대개의 경우 파서가 해주는 부분이므로 몇 줄의 코드만 작성하면 검사가 됩니다. 검사의 룰은 DTD나 Schema에 직접 적어 놓아야 하는 것이니 이미 사용자 알고 있다고 봐야하고요.

어떤 xml의 유효 검사인가요? xml valid checker로 구글링하면 수없는 페이지가 나오는데 Firefox에서 돌아가는 것을 원하는 것인가요? 아니면, 에디터에 체커가 딸린 것을 찾으시나요?

----
I paint objects as I think them, not as I see them.
atie's minipage

advanced의 이미지

xmllint --help

libxml2 에 포함된 녀석입니다, 아마 리눅스라면
기본으로 설치되어 있을껍니다

icanfly의 이미지

아..예 제가 아직 XML 초보라 좀 어벙벙한 질문을 한거같네요.

요즘 보는 책에 DTD나 XML 스키마를 구성한 뒤

그 구조에 맞게 XML파일을 작성하고, 인터넷 익스플로러에 파서를 설치한 다음 읽어들여서 마우스 오른쪽 버튼을 눌러

나타나는 validate xml 메뉴를 사용해서 정의된 스키마에 적합한 xml파일이 만들어졌는지 검사하더군요.

아직 DOM, SAX 같은걸 잘 활용할 줄 몰라서...

제일 편하게는 파이어폭스에서도 저렇게 할수 있지 않을까 싶어

찾아보다 질문을 올린것입니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.