Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 06:39:48 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: freeware that checks for XML non-compliance  (Read 2755 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
freeware that checks for XML non-compliance
« on: April 04, 2009, 10:46:51 PM »
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,097
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #1 on: April 04, 2009, 10:51:44 PM »
Would this link help?  Or this one:)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #2 on: April 05, 2009, 01:32:14 AM »
I think you're looking for xmllint. It comes as a part of libxml2.

Ehtyar.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #3 on: April 05, 2009, 05:28:18 AM »
nice find Ehtyar.
i didn't see any gui for xmllint for windows, might be a nice coding snack..

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #4 on: April 05, 2009, 05:37:20 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
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #5 on: April 06, 2009, 01:13:28 AM »
One other option would be to use Notepad++ with the XML Tools plugin.

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #6 on: April 06, 2009, 01:33:46 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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #7 on: April 07, 2009, 02:15:54 AM »
thanks for the suggestions everyone. i'll be trying them in the coming days. :up: