Re: xmllint and —
- From: Gregory Leblanc <gleblanc linuxweasel com>
- To: GNOME Doc List <gnome-doc-list gnome org>
- Subject: Re: xmllint and —
- Date: 24 Jan 2002 15:55:35 -0800
On Wed, 2002-01-23 at 22:14, Daniel Carrera wrote:
> Hello,
> I hope that this is not a stupid question:
There's no such thing. :-)
> 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
> >
Try adding the --valid flag to xmllint. Right now, it's just checking
for well-formededness (ack, is that a word?!? my spell checker wants to
replace it with fatheadedness, hehe). The --valid flag will tell it to
check your document against the DTD specified in the doctype
declaration.
Greg
--
Portland, Oregon, USA.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]