OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK: email in author element


According to the DocBook spec, <email> should be able to be
a child of <author>. When validating with Xerces from the
command line, I receive an error message stating that
<email> is not part of the content model.

Here's a direct quote from the spec:
Parents
These elements contain email: action, address, application,
attribution, author, ...

Here's the error message:
NOT VALID metadata.xml
metadata.xml Error: 
The content of element type "author" must match
"(honorific|firstname|surname|lineage|othername|affiliation|authorblurb|contrib)+".

Here's the content model for author:
author ::=
((personname|
 
(honorific|firstname|surname|lineage|othername|affiliation|
   authorblurb|contrib)+),
 (personblurb|email|address)*)

It looks as if the last, optional part of the content model
is not being reached. 

Here's the XML:

<?xml version="1.0" standalone="no"?>

<!DOCTYPE book 
  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "../resources/docbook-dtds/docbookx.dtd">

<book>
<!-- META DATA ABOUT THIS MODULE -->
<bookinfo>
   <title>Introduction to DocBook</title>
   <author>
      <firstname>Mark</firstname>
      <surname>Miller</surname>
      <email>storefront2000@yahoo.com</email>
   </author>
</bookinfo>
</book>

Clarification of what is happening would be appreciated. 

Thanks.
Mark

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC