[vox-tech] best way to validate an XML file?
Brian Lavender
brian at brie.com
Fri Jun 10 16:25:47 PDT 2011
This one also works. I put in an extra leaf, and it found it.
java -jar <path to jing-20081028>/bin/jing.jar maven-v4_0_0.xsd pom.xml
Thanks,
brian
On Thu, Jun 09, 2011 at 10:11:17AM -0700, Harold Lee wrote:
> There's also Jing ([1]http://www.thaiopensource.com/relaxng/jing.html),
> which supports several flavors of schemas.
>
> On Wed, Jun 8, 2011 at 1:35 PM, Bryan Richter
> <[2]bryan.richter at gmail.com> wrote:
>
> On Wed, Jun 08, 2011 at 12:52:20PM -0700, Brian Lavender wrote:
>
> > What is everyone using to validate an XML file on GNU/Linux? I have a
> > pom.xml file that I would to check is valid.
>
> I used xmllint, which is in the libxml2-utils package on Ubuntu.
> However, I recall I mostly used it for parsing, and I think the
> version I used didn't even support validation.
> It appears to support it now, however. The system I was using
> xmllint
> on was 'stable' and enterprise-y and had old software. :)
> -b
>
> _______________________________________________
> vox-tech mailing list
> [3]vox-tech at lists.lugod.org
> [4]http://lists.lugod.org/mailman/listinfo/vox-tech
>
> References
>
> 1. http://www.thaiopensource.com/relaxng/jing.html
> 2. mailto:bryan.richter at gmail.com
> 3. mailto:vox-tech at lists.lugod.org
> 4. http://lists.lugod.org/mailman/listinfo/vox-tech
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture
More information about the vox-tech
mailing list