This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Problems validating author-element
- From: John Fleck <jfleck at inkstain dot net>
- To: DocBook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 24 Feb 2003 06:36:39 -0700
- Subject: Re: DOCBOOK-APPS: Problems validating author-element
- Organization:
- References: <3E59F3FE.6090506@mpi-sb.mpg.de>
On Mon, 2003-02-24 at 03:29, Joachim Ziegler wrote:
What am I doing wrong here:
>
> <author>
> <firstname>Joachim</firstname>
> <surname>Ziegler</surname>
> <email>ziegler at mpi-sb dot mpg dot de</email>
> </author>
>
>
> xmlint says:
>
> xmllint -valid --noout LEDATutorium.xml
> LEDATutorium.xml:47: validity error: Element author content doesn't
> follow the Dtd
> Expecting ((personname | honorific | firstname | surname | lineage |
> othername | affiliation | authorblurb | contrib+) , (personblurb | email
> | address)*), got (firstname surname email )
> </author>
> ^
>
> But the content model is:
>
> author ::=
> ((personname|
> (honorific|firstname|surname|lineage|othername|affiliation|
> authorblurb|contrib)+),
> (personblurb|email|address)*)
>
>
> So <email> shoulf be allowed where it is, or am I missing something?
>
You need to upgrade your libxml. This is the result of a bug that was
fixed in September (http://bugzilla.gnome.org/show_bug.cgi?id=92542).
Cheers,
John
--
John Fleck
jfleck at inkstain dot net (h) jfleck at abqjournal dot com (w)
http://www.inkstain.net http://www.abqjournal.com
"Sometimes, a diner is all about the mac and cheese."
- Zippy the Pinhead