This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems validating author-element


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]