[oXygen-user] validation problem for CODE element in docbook 5?

Patrick O Young
Thu Apr 1 08:02:48 CDT 2010

I'm not that good at XML, but it looks like your <para> belongs to a root 
element. One of highest value thing-ies. Maybe I'm wrong.


Patrick O. [Shaun] Young
Principal Multi-Systems Engineer
Rapid Content Development 
and Management Systems & Services
Network Centric Systems
Raytheon Company



This message contains information that may be confidential and privileged. 
Unless you are the addressee (or authorized to receive mail for the 
addressee), you should not use, copy or disclose to anyone this message or 
any information contained in this message. If you have received this 
message in error, please so advise the sender by reply e-mail and delete 
this message. Thank you for your cooperation.

Robert Nagle <>

04/01/2010 07:41 AM
[oXygen-user] validation problem for CODE element in docbook 5?
Sent by:


I'm creating a docbook 5 document in the latest Oxygen, and got a
strange validation error.

Here is what I wrote:

          <para> <code>    <meta content="Home Page for Dick Solomon."
name="description" />

Here is the error message I receive:

SystemID: I:\My Documents\work-related\\quickguide.xml
Engine name: Jing
Severity: error
Description: element "meta" not allowed anywhere; expected the element
end-tag, text or element "alt", "anchor", "annotation", "biblioref",
"classname", "exceptionname", "function", "indexterm", "initializer",
"inlinemediaobject", "interfacename", "link", "methodname",
"modifier", "olink", "ooclass", "ooexception", "oointerface",
"parameter", "phrase", "remark", "replaceable", "returnvalue",
"subscript", "superscript", "type", "varname" or "xref"
Start location: 157:99

It seems that the validator is trying to process the contents of the
code element when in fact the code element allows text inside it

Or am I missing something obvious?

Robert Nagle
oXygen-user mailing list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20100401/faf65028/attachment.html 

More information about the oXygen-user mailing list