Re: [dssslist] Element "NAME" undefined

Subject: Re: [dssslist] Element "NAME" undefined
From: "N. Raghavendra" <raghu@xxxxxxxxxxxx>
Date: Wed, 15 Aug 2007 14:09:04 +0530
At 2007-08-15T12:14:36+08:00, CN wrote:

> I get "openjade:book.sgml:10:22:E: element "NAME" undefined" from
> openjade:
>
> openjade -d stylesheet.dsl -i output-html -t sgml book.sgml
> ...
> ----------book.sgml---------
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" []>
>
> <book>
> <title>Learning DocBook</title>
>  <part>
>   <title>My first Part</title>
>    <chapter>
>     <title>Getting Started</title>
>     <para>
>      His name is <name>John</name>.
>     </para>

The reason for the error is that the DocBook DTD does not allow any
element with GI `name'.  You can use
`<personname><firstname>John</firstname></personname>'.

HTH,
Raghavendra.

-- 
N. Raghavendra <raghu@xxxxxxxxxxxx> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

Current Thread