Re: [xml] xmllint as minimal non-validating parser?
- From: Fred Drake <fdrake acm org>
- To: Chuck Bearden <cbearden rice edu>
- Cc: xml gnome org
- Subject: Re: [xml] xmllint as minimal non-validating parser?
- Date: Thu, 13 Sep 2007 21:48:51 -0400
On Sep 13, 2007, at 5:33 PM, Chuck Bearden wrote:
Is there a way to make xmllint do no more than check documents
against the well-formedness constraints, to emulate a minimal
non-validating processor?
I hate to sound like advertising for the competition, but
"xmlwf" (distributed with the Expat library) will handle this.
What's interesting is that xmllint exits with a return code of 0,
though the man page claims that means no error (as expected),
suggesting that this message is just a warning. Using --nowarning
doesn't suppress the message, however. Perhaps this is a bug in the
--nowarning support?
-Fred
--
Fred Drake <fdrake at acm.org>
"Chaos is the score upon which reality is written." --Henry Miller
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]