DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: freeware that checks for XML non-compliance  (Read 7,730 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
freeware that checks for XML non-compliance
« on: April 05, 2009, 03:46 AM »
i'm looking for a freeware program that is able check files for XML non-compliance and offer to correct them. i have a bundle of XML that is not up to specification but i'm not inclined to check them one at a time. thanks..

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: freeware that checks for XML non-compliance
« Reply #1 on: April 05, 2009, 03:51 AM »
Would this link help?  Or this one?  :)
The easy path is usually downhill...

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: freeware that checks for XML non-compliance
« Reply #2 on: April 05, 2009, 06:32 AM »
I think you're looking for xmllint. It comes as a part of libxml2.

Ehtyar.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: freeware that checks for XML non-compliance
« Reply #3 on: April 05, 2009, 10:28 AM »
nice find Ehtyar.
i didn't see any gui for xmllint for windows, might be a nice coding snack..

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: freeware that checks for XML non-compliance
« Reply #4 on: April 05, 2009, 10:37 AM »
CLI is much better for batch operation, which is what Lan Man asked for. I'm happy to help out with a batch file :P

Ehtyar.

bgd77

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 203
Re: freeware that checks for XML non-compliance
« Reply #5 on: April 06, 2009, 06:13 AM »
One other option would be to use Notepad++ with the XML Tools plugin.

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: freeware that checks for XML non-compliance
« Reply #6 on: April 06, 2009, 06:33 AM »
Looks like libexpat contains a tool specifically to check xml well-formed-ness. Get a copy here and try out the xmlwf.exe tool.

Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: freeware that checks for XML non-compliance
« Reply #7 on: April 07, 2009, 07:15 AM »
thanks for the suggestions everyone. i'll be trying them in the coming days. :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=17779.0