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]

Problems validating author-element


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?


Greetings,
Joachim


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