Re: xmllint and —
- From: John Fleck <jfleck inkstain net>
- To: GNOME Doc List <gnome-doc-list gnome org>
- Subject: Re: xmllint and —
- Date: Thu, 24 Jan 2002 11:52:17 -0700
On Thu, Jan 24, 2002 at 01:14:40AM -0500, Daniel Carrera wrote:
> I hope that this is not a stupid question:
> I've been using xmllint to check the XML of the document I'm working on.
> There's only one error left to figure out. xmllint doesn't seem to like
> daniel]$ xmllint --noout gdict.xml
> gdict.xml:269: error: Entity 'mdash' not defined
> <guimenuitem>Manual</guimenuitem> — shows this manual.
> It seems that xmllint is expecting an ENTITY tag for mdash (just like
> version). Interestingly, xmllint doesn't have any problem with < and
> I hope I'm not anoying anyone with stupid questions. Please remember that
> I'm new here :)
No stupid questions. I spent ages scratching my head about this.
You need to add --valid to the xmllint command line, which forces it to load
] [Thread Prev