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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Validation Question


The XInclude process adds xml:base attributes to your elements when they are pulled from different directories. That is so relative paths in those files can be kept track of.  The DocBook DTD added xml:base as a common attribute starting in version 4.3, so you must be using a DTD older than that.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Thursday, October 05, 2006 11:55 AM
Subject: [docbook-apps] Validation Question

When validating a book that uses xincludes I get the following errors:

Validation of overview.xml with xmllint:


Parsing took 62 ms
Xinclude processing took 1328 ms
../common/legalblurb.xml:3: element legalnotice: validity error : No declaration for attribute base of element legalnotice
../common/copynotice.xml:4: element legalnotice: validity error : No declaration for attribute base of element legalnotice
../common/copydate.xml:4: element copyright: validity error : No declaration for attribute base of element copyright
overview.xml:7: element section: validity error : No declaration for attribute base of element section
overview.xml:6: element section: validity error : No declaration for attribute base of element section
overview.xml:6: element section: validity error : No declaration for attribute base of element section
overview.xml:3: element section: validity error : No declaration for attribute base of element section
overview.xml:3: element section: validity error : No declaration for attribute base of element section
Document overview.xml does not validate
Validating took 16 ms
Freeing took 15 ms

 

The book runs through the XSLT without a hitch and all of the individual file validate. What am I missing?

 

TIA,

Eric J.



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