topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 8:41 pm
  • Proudly celebrating 15+ 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 5885 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
freeware that checks for XML non-compliance
« on: April 04, 2009, 10:46 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,939
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #1 on: April 04, 2009, 10:51 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 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,914
    • 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 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 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 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 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
    • View Profile
    • Donate to Member
Re: freeware that checks for XML non-compliance
« Reply #7 on: April 07, 2009, 02:15 AM »
thanks for the suggestions everyone. i'll be trying them in the coming days. :up: